engineOn – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "== 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 S...")
 
m (Text replacement - "Killzone Kid" to "Killzone_Kid")
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Not working with every vehicle type! ==
== Not working with every vehicle type! ==


The [[engineOn|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 [https://dev-heaven.net/issues/22360 Link to DevHeaven.net], but somehow it's still not working in Arma 3 Beta 0.70.  
The [[engineOn|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|link= https://dev-heaven.net/issues/22360|text= Link to DevHeaven.net}}, but somehow it's still not working in Arma 3 Beta 0.70.  


'''Examples:'''
'''Examples:'''
             (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.
 
== {{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>
Just tested still does not work, I will submit a report but im pretty sure im not the only one. [[user:Killzone_Kid|Killzone_Kid]] what version did you test this on, are you using Dev branch? If so I see no reason to report this yet.
<br>--[[user:Benargee|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 <code style="display: block">heli engineOn true</code> engine starts up fine, I wait a few seconds, then I run this code: <code style="display: block">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
::::::::{{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)

Latest revision as of 13:48, 12 March 2024

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 (dead link), 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)