I have finally got my follow script to work, it's basically an infinite loop of move commands, that tells a group to move to the position of a given unit at set intervals.
Now I want them to STOP following me when they reach a certain waypoint, or trigger.
How can I stop a script from repeating again when a certain event has occurred?