#include "x0_i0_partywide" void main() { object oTarget; int nInt; object oPC = GetPCSpeaker(); // Give 5 experience (to party) to the PC. GiveXPToAll(oPC, 5); oTarget = GetObjectByTag("Atya"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Atya"))); oTarget = GetObjectByTag("Atya"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("Atya"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("GuardofAtya"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Atya"))); oTarget = GetObjectByTag("GuardofAtya"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("GuardofAtya"); DestroyObject(oTarget, 3.0); }