Lankhmar_PRC8/_module/nss/walk_aw_generalw.nss

26 lines
573 B
Plaintext
Raw Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
object oTarget;
int nInt;
object oPC = GetPCSpeaker();
oTarget = GetObjectByTag("GeneralWorlga22");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_GeneralWorlga22")));
oTarget = GetObjectByTag("last_door");
AssignCommand(oTarget, ActionOpenDoor(oTarget));
oTarget = GetObjectByTag("GeneralWorlga22");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("GeneralWorlga22");
DestroyObject(oTarget, 3.0);
// Destroy an object (not fully effective until this script ends).
DelayCommand(3.0, DestroyObject(GetObjectByTag("mousrp1")));
}