Can someone please help me correct my script syntax. I'm getting an error for the position array in the drop command.
private ["_vehicle","_crewman","_alpha","_theta","_newangle","_nX","_nY","_nZ"];
_vehicle=_this select 0
_crewman=_this select 1
;Obtain the angles theta and alpha.
GetDir _vehicle=_alpha
GetDir _crewman=_theta
;Calculate the new angle.
(_theta + 84.28940686)-_alpha=_newangle
;Obtain new coordinates.
cos _newangle*1.004987562=_nY
_nX=_nY*10
_nZ=0.1
Drop ["cl_basic","","Billboard",0.9,0.8,[_nX,_nY,_nZ],[0,-0.1,0.2],0.9,1.3,1,0,[1.5,0.8,0.3],[[0,0,0,1],[0,0,0,0.2]],[0,0,0,0],0.1,0.1,"","",_vehicle]
~0.66
Exit