#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("Alakabon"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Alakabon"))); oTarget = GetObjectByTag("Alakabon"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("Alakabon"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("Atya"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Alakabon"))); oTarget = GetObjectByTag("Atya"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("Atya"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("AtyaGrd"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Alakabon"))); oTarget = GetObjectByTag("AtyaGrd"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("AtyaGrd"); DestroyObject(oTarget, 3.0); }