isEngineOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(a note shouldn't be an essay about meaning of life)
Line 48: Line 48:
<dd class="notedate">Posted on March 20, 2015 - 14:32 (UTC)</dd>
<dd class="notedate">Posted on March 20, 2015 - 14:32 (UTC)</dd>
<dt class="note">[[User:RKillah|RKillah]]</dt>
<dt class="note">[[User:RKillah|RKillah]]</dt>
<dd class="note">
<dd class="note">[[isEngineOn]] returns [[true]] for static objects without an engine
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>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 17:44, 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
isEngineOn returns true for static objects without an engine