isEngineOn

From Bohemia Interactive Community
Revision as of 15:32, 20 March 2015 by RKillah (talk | contribs)
Jump to navigation Jump to search
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)