...
...
;
_poc = getPos _chopper
_dir = getDir _chopper
;Assuming the open chopper's door is at its left side
;The zodiac will spawn at the left of the chopper, 2 meters away and 1.5 meters down
_rad = 2
_ang = _dir - 90
_pos = [(_posc select 0)+sin(_ang)*_rad, (_posc select 1)+cos(_ang)*_rad, (_posc select 2) - 1.5]
_zodiac = "zodiac object type" createVehicle _pos
....
....
exit