#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("g_npc_captain"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Mathae"))); oTarget = GetObjectByTag("g_npc_captain"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("g_npc_captain"); DestroyObject(oTarget, 5.0); }