20 lines
570 B
Plaintext
20 lines
570 B
Plaintext
|
|
||
|
void main()
|
||
|
{
|
||
|
object oActor;
|
||
|
|
||
|
// Get the PC who is in this conversation.
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Have "mhjlr2x" perform a sequence of actions.
|
||
|
oActor = GetObjectByTag("mhjlr2x");
|
||
|
AssignCommand(oActor, ActionMoveToObject(GetNearestObjectByTag("WP_mhjlr2")));
|
||
|
|
||
|
// Destroy an object (not fully effective until this script ends).
|
||
|
DelayCommand(7.0, DestroyObject(GetObjectByTag("mhjlr2x")));
|
||
|
|
||
|
// Destroy an object (not fully effective until this script ends).
|
||
|
DelayCommand(7.0, DestroyObject(GetObjectByTag("mhjlqts1")));
|
||
|
}
|
||
|
|