Hello all,
Firstly i appoligse if this is in the wrong thread. I havent been on OFPEC in a while, so.. ;D
I've been working on a script lately:
_unit = _this select 0
#loop
_unit addaction ["Engage at will!","engage.sqs"]
_unit addaction ["Forward!","forward.sqs"]
_unit addaction ["Halt!","halt.sqs"]
goto "loop"
Now, the problem lys within the unit selection. Ive made the corresponding scripts for this script (Engage.sqs etc) like this:
_unit = _this select 0
_unit switchmove "CommandEngageAtWill"
~1
_Unit GroupChat "Engage at will"
exit
However when i get in, i get the error: _unit = _this select 0 | type array expected object | or something like that.
Can anyone help me?
Cheers,
Kannon ;D