isEngineOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''isEngineOn''' [[Object#Vehicle|Vehicle]]|= Syntax
| [[Boolean]] <nowiki>=</nowiki> '''isEngineOn''' vehicle |= Syntax


|p1=  [[Object#Vehicle|Vehicle]] |= Parameter 1
|p1=  vehicle: [[Object]] |= Parameter 1


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value

Revision as of 01:55, 23 January 2009

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