Lankhmar_PRC8/_module/nss/walk_aw_generalw.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

26 lines
573 B
Plaintext

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")));
}