void main() { // Set the variables SetLocalInt(GetPCSpeaker(), "malthrip", 1); object oPC = GetPCSpeaker(); object oTarget; location lTarget; oTarget = GetWaypointByTag("WP_Malthrip_01"); lTarget = GetLocation(oTarget); if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return; oTarget=GetFirstFactionMember(oPC, FALSE); while (GetIsObjectValid(oTarget)) { AssignCommand(oTarget, ClearAllActions()); AssignCommand(oTarget, ActionJumpToLocation(lTarget)); oTarget=GetNextFactionMember(oPC, FALSE); } oTarget = GetObjectByTag("Malthrip"); AssignCommand(GetObjectByTag("Hasan"), SetFacingPoint(GetPosition(oTarget))); }