#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("extthg1"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_mob1_ex"))); oTarget = GetObjectByTag("extthg1"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("extthg1"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("extthg2"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_mob1_ex"))); oTarget = GetObjectByTag("extthg2"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("extthg2"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("mob1"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_mob2_mch"))); oTarget = GetObjectByTag("mob1"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("mob1"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("mob2"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_mob2_mch"))); oTarget = GetObjectByTag("mob2"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("mob2"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("mob3"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_mob2_mch"))); oTarget = GetObjectByTag("mob3"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("mob3"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("mob4"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_mob2_mch"))); oTarget = GetObjectByTag("mob4"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("mob4"); DestroyObject(oTarget, 3.0); }