_unit = _this select 0
_leader = _this select 1

? _unit == player : exit


#loop

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

~1.4

? (fleeing leader _unit): exit

goto "loop"


