isEngineOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 43: Line 43:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on March 20, 2015 - 14:32 (UTC)</dd>
<dt class="note">[[User:RKillah|RKillah]]</dt>
<dd class="note">
Upon Using this in a single teleport script that teleports to multiple locations MHQ,AHQ and Flags(FARP/FOB) the returned value works fine for the Vehicles with engines detecting whether the engine is running or not, but always returns TRUE(engine is running) for static objects without an engine(FLAP POLES)
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 15:32, 20 March 2015

Hover & click on the images for description

Description

Description:
Returns true if engine is on, false if it is off.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = isEngineOn vehicle
Parameters:
vehicle: Object
Return Value:
Boolean

Examples

Example 1:
_OnOff = isEngineOn _carOne

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Posted on March 20, 2015 - 14:32 (UTC)
RKillah
Upon Using this in a single teleport script that teleports to multiple locations MHQ,AHQ and Flags(FARP/FOB) the returned value works fine for the Vehicles with engines detecting whether the engine is running or not, but always returns TRUE(engine is running) for static objects without an engine(FLAP POLES)