I have used something somethings script for a heli landing on the carrier, for ambience and have removed the spawn of the soldiers who get out at landing, I am trying to make the heli sit for longer (30-50 sec) then carry on,
the script works but at activation via trigger / execVm of a sqf,
I get an on screen error: as follows.
Error 1 elements provided, 2 expected? line 14
_crew1 = creategroup WEST;
_airframe1 = [getMarkerPos "marker1", 40, "UK3CB_BAF_Merlin_HC4_Cargo_Arctic", _crew1] call BIS_fnc_spawnVehicle;
_wp1 = _crew1 addWaypoint [(getmarkerpos "marker5"), 0];
_wp1 setWaypointType "TR UNLOAD";
_wp1 setWaypointSpeed "LIMITED";
_wp1 setwaypointstatements ["this land 'land'"];
I tried sleep 30; here but it didn't do any thing?
_wp2 = _crew1 addWaypoint [(getmarkerpos "marker3"), 0];
_wp2 setWaypointType "MOVE";
_wp2 setWaypointSpeed "NORMAL";
_wp3 = _crew1 addWaypoint [(getmarkerpos "marker1"), 0];
_wp3 setWaypointType "MOVE";
_wp3 setWaypointSpeed "FULL";
_wp3 setWaypointStatements ["true", "{deleteVehicle _x;} forEach thisList + [vehicle this];"];
Any advise is greatly appreciated.
R