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