Jump to content
Sign in to follow this  
jd3527

AI-controlled Heli engine-off script

Recommended Posts

Hi guys,

I'm trying to make a mission for MP in the beginning of which a 2 man team is transported to a small firebase with 2x helipads. I'm using a "Transport Unload" waypoint so that the heli lands and stays on the helipad but it keeps it's engine on when I want it to turn off! Do any of you know or have a script that can do this? Anyone who can make or tell me the best possible one gets a mention in the credits and my gratitude! Also looking for Greek or American voice actors who speak fluent english, contact me ASAP please!

Peace!

Share this post


Link to post
Share on other sites

Try this:

doStop chopper;
chopper land "land";

makes the chopper land and turn engines off until another waypoint or move command has been issued.

Cheers

Share this post


Link to post
Share on other sites

If you want to keep the engine turned off, then you must use actions: https://community.bistudio.com/wiki/Arma_3_Actions

In your case, use engineOff func:

First, give a name to your helicopter, for the example: heli

Put this line to your "when activated" field: [] execVM "LUKI_aLand.sqf";

And you must have these few lines in "LUKI_aLand.sqf" script file:

waitUntil{(getPos heli select 2) < 0.5};
this action ["engineOff", vehicle heli];

Hope it helps. :)

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
Sign in to follow this  

×