isEngineOn: Difference between revisions

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


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


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


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_it = isEngineOn carOne</pre> |= Example 1
|x1= <pre>_OnOff = isEngineOn _carOne</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:35, 27 August 2007

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
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