heres my smoke helo script just put it in like this
[mygroup,heli1,] exec "smokeshell.sqs"
;Made By NAA Us Marine -------------------------------------------
_Groupname = _this select 0
_Heloname = _this select 1
;Basic Things-----------------------------------------------------
;Names -----------------------------------------------------------
;-----------------------------------------------------------------
xxxusmc = "smokeshellgreen" camcreate getpos _Groupname
xxxusmc1 = "HeliHEmpty" camcreate getpos xxxusmc
;Camcreates-------------------------------------------------------
;-----------------------------------------------------------------
_Heloname Move getpos xxxusmc2
@unitready _Heloname
;Get position-----------------------------------------------------
;-----------------------------------------------------------------
_Heloname setspeedmode "LIMITED"
_Heloname Move getpos xxxusmc1
~3
@unitready _Heloname
;----------------------------------------------------------------
;Move again-------------------------------------------------------
_Heloname flyInHeight 9
~1.5
_Heloname flyInHeight 5
~0.78
_Heloname flyInHeight 3
~3
_Heloname flyinHeight 0
;Land the Helo----------------------------------------------------
;-----------------------------------------------------------------
@(getpos _Heloname select 2) < 5
_Heloname flyInHeight 0
[] exec "takeoff.sqs"
exit