Kolmain 6 Posted October 28, 2010 What about WaitUntil? Share this post Link to post Share on other sites
twirly 11 Posted October 29, 2010 What about WaitUntil? Yep sure....you can put it in a while loop. Run the script on the group. In this example _found (local) has been changed to DudeFound (global). while {true} do { _cnt = 0; for [{_i=0},{_i < count units _grp},{_i=_i+1}] do { _dude = units _grp select _i; if (_dude distance _grpfob >= 1500) then {_cnt = _cnt +1}; sleep 0.01; }; if (_cnt >=1) then { DudeFound = true; } else { DudeFound = false; }; sleep 1; }; ...and then check from anywhere that DudeFound is true :- waituntil {DudeFound}; It's up to your imagination! Share this post Link to post Share on other sites
Kolmain 6 Posted October 29, 2010 how would i use this with many diffrent cities? thats my issue Share this post Link to post Share on other sites