Okay, I'll tell you all about the wall I've run into. I have a sequence of groups moving around to preset waypoints. In the midst of that sequence I'm trying to include a loop which will be activated when a soldier gets close enough to a certain object. And this loop can activate at -any- time during said sequence.
Now the problem is that I have something like this
leader group1 move getPos Barn
leader group2 move getPos May
#loop
? (Bee distance Joe < 5) : goto "Continue"
~.01
goto "loop"
leader group2 move getpos james
#continue
hint "Oh crap!"
The problem is that I want the loop to be able to activate at -any- time while the groups are in motion, and from what I've seen it instead stops at the #loop and forever continues testing that variable until it becomes true, then goes to continue like I have written. And I don't know how to make it so that #continue can activate at -any- time... before group1 reaches its waypoint, after, before or after group2 reaches its waypoint, etc... and if it is -not- activated then I want the groups to continue their movements without any interference. In this case "continue" may never be active, but if it -is- I want it to happen at any time. And I'm just unsure how to accomplish that.