_unit = _this select 0

? _unit == player : exit

#loop

? _unit == leader _unit : goto "loop1"
? !(alive _unit) OR (captive _unit): exit
? speed leader _unit > 0 : _unit switchmove "standrunF";_unit setdir getdir leader _unit

~1.4

? (combatmode group _unit != "GREEN") : exit

goto "loop"

#loop1


? !(alive _unit) OR (captive _unit): exit
? speed _unit > 0.5 : _unit switchmove "combatwalkF";

~2.0

? (combatmode group _unit != "GREEN") : exit

goto "loop1"


