#include "cs_misc_function" void main() { // // Move everyone within 20 meters of speaker to wp_cain waypoint (CS) // object oPC = GetPCSpeaker(); if (oPC != OBJECT_INVALID) { cs_MovePartyNearbyToLocation(oPC, "wp_mystic_101", 20.0); } /* OLD SCRIPT VERSION object oPC = GetFirstPC(); object onPC = GetLastSpeaker(); while (GetIsPC(oPC)) { float fDistance = GetDistanceBetween(oPC, onPC); if (fDistance <= 30.0) { DelayCommand(1.0,AssignCommand (oPC, JumpToObject(GetWaypointByTag("wp_mystic_101")))); } else { } oPC = GetNextPC(); }; */ }