#include "x0_i0_partywide" void main() { object oTarget; int nInt; //Move individual to new location location lNewLocation = GetLocation(GetObjectByTag("WP_Jail1")); //Since the script is called from a conversation //determine who is moved by calling the GetPCSpeaker function oTarget = GetPCSpeaker(); // Give 5 experience (to party) to the PC. GiveXPToAll(oTarget, 5); if (GetIsObjectValid(oTarget) == TRUE){ AssignCommand(oTarget,ActionJumpToLocation(lNewLocation)); } else if (GetIsObjectValid(oTarget) == FALSE) { SpeakString("Problem here"); } oTarget = GetObjectByTag("Blackie"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("Blackie"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("LankhmarGuardB2"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Blackie"))); oTarget = GetObjectByTag("LankhmarGuardB2"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("LankhmarGuardB2"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("LankhmarGuardB3"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Blackie"))); oTarget = GetObjectByTag("LankhmarGuardB3"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("LankhmarGuardB3"); DestroyObject(oTarget, 3.0); oTarget = GetObjectByTag("LankhmarGuardB1"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Blackie"))); oTarget = GetObjectByTag("LankhmarGuardB1"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("LankhmarGuardB1"); DestroyObject(oTarget, 3.0); }