Jump to content

Recommended Posts

///////////////////////////////////////////////////////////////////////////////////////////

if (!isServer) exitWith {};

///////////////////////////////////////////////////////////////////////////////////////////

_crew1 = [];
_airframe1 = [];

_crew1 = creategroup EAST;
_airframe1 = [getMarkerPos "stage_1", 40, "O_Heli_Light_02_dynamicLoadout_F", _crew1] call BIS_fnc_spawnVehicle;

_wp1 = _crew1 addWaypoint [(getmarkerpos "stage_2"), 0];
_wp1 setWaypointType "MOVE";
_wp1 setWaypointSpeed "LIMITED";
_wp1 setWaypointBehaviour "COMBAT";
_wp1 setWaypointCombatMode "RED";


_wp2 = _crew1 addWaypoint [(getmarkerpos "stage_3"), 0];
_wp2 setWaypointType "MOVE";
_wp2 setWaypointSpeed "LIMITED";
_wp2 setWaypointBehaviour "COMBAT";
_wp2 setWaypointCombatMode "RED";
_wp2 setWaypointStatements ["true", "{deleteVehicle _x;} foreach thisList + [vehicle this];"];

 

Hi guys, I use this little code to generate aerial ambience on stage. When the helicopter passes over you, if you hide and it does not detect you, it follows its route and disappears, but if it detects you you have a problem.

To curl the curl, it would be interesting to control the height and speed, that is, even slower than the preset "LIMITED" and setting a certain height, normally lower.

I have tried to do it with "limitSpeed" and flyInHeight, but it doesn't work.
A help would be great.
Thanks.

 

Share this post


Link to post
Share on other sites

I wrote something for speed but i guess it can be modified for height as well

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×