#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("Ellard2"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Ellard2"))); oTarget = GetObjectByTag("Ellard2"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("Ellard2"); DestroyObject(oTarget, 4.0); }