Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hrn_disabledUnits = [];
- while {true} do
- {
- {
- if (player distance _x < 2000) then
- {
- _x enableSimulation true;
- hrn_disabledUnits = hrn_disabledUnits - [_x];
- };
- } forEach hrn_disabledUnits;
- {
- if (player distance _x >= 2000 && (!(_x in hrn_disabledUnits))) then
- {
- hrn_disabledUnits = hrn_disabledUnits + [_x];
- };
- } forEach allUnits;
- {
- _x switchMove "";
- _x enableSimulation false;
- } forEach hrn_disabledUnits;
- sleep 3;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement