_unit = _this select 0

? _unit == player : exit

#loop

? _unit == leader _unit : _unit domove getpos _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 == "BLUE") : exit

goto "loop"

#loop1


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

~2

? (combatmode group _unit == "BLUE") : exit

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

~1.5

? (combatmode group _unit == "BLUE") : exit

goto "loop1"


