Hello:
With this small script, activated by trigger, a helicopter with its crew must appear on the ground, on a certain 3D position. When the script is activated, the helicopter itself is generated, but static and at a certain height, not perched on the ground. If the code indicates that the height must be 0 (_height = 0;), why does not it work? What am I doing wrong?
Please, can you help me?
Thank you.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
_markerstr = createMarker ["MI8_C1", [9908.08,19424.5]];
_markerstr setMarkerShape "ICON";
_markerstr setMarkerType "hd_dot";
_height = 0;
_pos = getMarkerPos "MI8_C1";
_MI8_C1 = [ [_pos select 0, _pos select 1, _height], EAST, ["CUP_O_Mi8_RU"],[],[],[],[],[],270] call BIS_fnc_spawnGroup;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////