ok here goes: :-\
i made a script so that when dude1 is at a certain distance from dude2, dude 2 puts his hands up. here is my script:
_cop = _this select 0
_res1 = _this select 1
#update
? (_cop Distance _res1) =< 2 : goto"restraining"
goto"update"
#restraining
_res1 switchmove"FXstandsur"
#update2
? not(alive _res1) : goto"dead"
goto"update2"
#dead
_res1 switchmove"FXstandsurdead"
exit
when i run it there is an error:
' (_cop Distance _res1) [ # ]=< 2 : goto"restraining" ' error unknown operator
is there smth wrong in this line?
thx