engineOn – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (gvi)
(3 intermediate revisions by the same user not shown)
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 ==
== {{GVI|arma 3|1.28}} engineOn False Arma 3 1.28.127008 Helicopters ==


RE:[https://community.bistudio.com/wiki?title=engineOn&diff=83121&oldid=83117|"(example corrected, note edited (engineOn false works fine on helicopters, if you experience problems, report it on feedback tracker))"]<br>
RE:[https://community.bistudio.com/wiki?title=engineOn&diff=83121&oldid=83117|"(example corrected, note edited (engineOn false works fine on helicopters, if you experience problems, report it on feedback tracker))"]<br>
Line 28: Line 28:
::::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
:::::: Works for me --KK
::::::::{{GVI|arma3|1.35}}Just tested this on dev 1.35, Works flawlessly! --[[User:Benargee|Benargee]] ([[User talk:Benargee|talk]]) 05:24, 16 October 2014 (CEST)

Revision as of 05:24, 16 October 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.

Arma 3 logo black.png1.28 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
Arma 3 logo black.png1.35Just tested this on dev 1.35, Works flawlessly! --Benargee (talk) 05:24, 16 October 2014 (CEST)