engineOn – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Spelling)
Line 6: Line 6:
             (vehicle player) engineOn true;
             (vehicle player) engineOn true;
             -----------------
             -----------------
             -Trun on any vehicle.
             -Turn on any vehicle.


             (vehicle player) engineOn false;
             (vehicle player) engineOn false;
Line 13: Line 13:




If you still want to turn off the engine of a helicopter, you can use the [http://community.bistudio.com/wiki/ArmA_2:_Actions#EngineOff Action - EngineOff] commands insted of engineOn. You also can use this to turn it on.  
If you still want to turn off the engine of a helicopter, you can use the [http://community.bistudio.com/wiki/ArmA_2:_Actions#EngineOff Action - EngineOff] commands instead of engineOn. You also can use this to turn it on.  


'''Examples:'''
'''Examples:'''
             player action ["engineOff", (vehicle player)] ;
             player action ["engineOff", (vehicle player)] ;
             -----------------
             -----------------
             -Trun off any vehicle.
             -Turn off any vehicle.


== engineOn False Arma 3 1.28.127008 Helicopters ==
== engineOn False Arma 3 1.28.127008 Helicopters ==

Revision as of 22:38, 7 September 2014

Not working with every vehicle type!

The engineOn command not working with all the vehicle types. You can turn on the engine of every vehicle (Air, Land and Sea), but you can't turn off the engine of helicopters. This is a known problem, and it was already reported in Arma 2 Link to DevHeaven.net, but somehow it's still not working in Arma 3 Beta 0.70.

Examples:

           (vehicle player) engineOn true;
           -----------------
           -Turn on any vehicle.
           (vehicle player) engineOn false;
           -----------------
           -Turn off any vehicle except Helicopters (Air).


If you still want to turn off the engine of a helicopter, you can use the Action - EngineOff commands instead of engineOn. You also can use this to turn it on.

Examples:

           player action ["engineOff", (vehicle player)] ;
           -----------------
           -Turn off any vehicle.

engineOn False Arma 3 1.28.127008 Helicopters

RE:"(example corrected, note edited (engineOn false works fine on helicopters, if you experience problems, report it on feedback tracker))"
Just tested still does not work, I will submit a report but im pretty sure im not the only one. Killzone Kid what version did you test this on, are you using Dev branch? If so I see no reason to report this yet.
--Benargee, Sep 06 2014

Make a ticket with repro, I cannot answer this until I can see what you are doing. --Kk
Ok so I did this with the included Arma 3 debug menu. I place a empty helicopter in editor(MH-9), name it heli. In game I run heli engineOn true engine starts up fine, I wait a few seconds, then I run this code: heli engineOn false Nothing happens, engine still keeps on spooling up.
I will try and run it from a script instead of debug, but i doubt that will make much difference. I can also upload a video too.
--Benargee, Sep 07 2014
Works for me --KK