12 lines
318 B
Plaintext
12 lines
318 B
Plaintext
void main()
|
|
{
|
|
object user=GetLastUsedBy();
|
|
if(!GetIsObjectValid(user)||!GetIsPC(user))
|
|
return;
|
|
object target=GetObjectByTag("ExitAndoriansTrapDoor");
|
|
AssignCommand(user,ClearAllActions());
|
|
AssignCommand(user,ActionJumpToObject(target));
|
|
DelayCommand(5.0, ActionCloseDoor(OBJECT_SELF));
|
|
}
|
|
|