Hi I created a script like this;
; ****************************************************************
; Script file for Armed Assault
; Created by: TODO: Author Name
; ****************************************************************
; Get the parameters given
_bmp1 = _this Select 0
_bmp2 = _this Select 1
_bmp1 getpos player
_bmp2 getpos player
Exit
I want the two BMP's to get the position of player.
This is how I executed the script.
[bmp1, bmp2] exec "bmp.sqs"
It doesn't work, the error says..
missing ;
Why is this? Am I on the right track? Can someone help me fix it, thanks.
-----
FIXED
-----
Nevermind fixed the problem..I was missing the
=
in the sqs file between the
_bmp = getpos
player