22 lines
619 B
Plaintext
22 lines
619 B
Plaintext
void main()
|
|
{
|
|
|
|
object oActor;
|
|
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oSelf = OBJECT_SELF;
|
|
|
|
// Have "Ulat" perform a sequence of actions.
|
|
oActor = GetObjectByTag("Ulat");
|
|
AssignCommand(oActor, ActionMoveToObject(GetNearestObjectByTag("WP_Ulat1x")));
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
DelayCommand(4.0, DestroyObject(GetObjectByTag("Ulat")));
|
|
// Get the PC who is in this conversation.
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
DelayCommand(5.0, DestroyObject(oSelf));
|
|
}
|