void main() { //Move individual to new location location lNewLocation = GetLocation(GetObjectByTag("WP_SPEEL")); object oTarget; //Since the script is called from a conversation //determine who is moved by calling the GetPCSpeaker function oTarget = GetPCSpeaker(); if (GetIsObjectValid(oTarget) == TRUE){ AssignCommand(oTarget,ActionJumpToLocation(lNewLocation)); } else if (GetIsObjectValid(oTarget) == FALSE) { SpeakString("Problem here"); } object oSpawn; location lTarget; int nInt; object oPC = GetPCSpeaker(); oTarget = GetObjectByTag("Fell"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Fell"))); oTarget = GetObjectByTag("Fell"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("Fell"); DestroyObject(oTarget, 5.0); oTarget = GetWaypointByTag("WP_Spn_Fell2"); lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "fell2", lTarget); }