isEngineOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ISENGINEON]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|ISENGINEON]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|ISENGINEON]]
[[Category:Scripting Commands ArmA|ISENGINEON]]


| ofp |= Game name


<h2 style="color:#000066">'''isEngineOn ''vehicle'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Returns [[true]] if engine is on, [[false]] if it is off. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''isEngineOn''' vehicle |= Syntax


'''vehicle:''' [[Object]]
|p1= vehicle: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_it = isEngineOn carOne</pre> |= Example 1
____________________________________________________________________________________________


[[Boolean]]
|  |= See also


'''Description:'''
}}


Returns [[true]] if engine is on, [[false]] if it is off.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|ISENGINEON]]
_it = '''isEngineOn''' carOne
[[Category:Scripting Commands OFP 1.96|ISENGINEON]]
[[Category:Scripting Commands OFP 1.46|ISENGINEON]]
[[Category:Scripting Commands ArmA|ISENGINEON]]

Revision as of 00:34, 2 August 2006

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_it = 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