engineOn – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
::Make a ticket with repro, I cannot answer this until I can see what you are doing. --Kk
::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 <code>heli engineOn true</code> engine starts up fine, I wait a few seconds, then I run this code: <code>heli engineOn false</code> Nothing happens, engine still keeps on spooling up. <br>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.<br>--[[user:Benargee|Benargee]], Sep 07 2014
::::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 <code>heli engineOn true</code> engine starts up fine, I wait a few seconds, then I run this code: <code>heli engineOn false</code> Nothing happens, engine still keeps on spooling up. <br>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.<br>--[[user:Benargee|Benargee]], Sep 07 2014
:::::: Works for me --KK

Revision as of 20:04, 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;
           -----------------
           -Trun 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 insted of engineOn. You also can use this to turn it on.

Examples:

           player action ["engineOff", (vehicle player)] ;
           -----------------
           -Trun 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