isEngineOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#I|COMREF]]
<h2 style="color:#000066">'''isEngineOn ''vehicle'''''</h2>
<h2 style="color:#000066">'''isEngineOn ''vehicle'''''</h2>


'''Operand types:'''
'''Operand types:'''


vehicle: [[Object]]
'''vehicle:''' [[Object]]


'''Type of returned value:'''
'''Type of returned value:'''
Line 11: Line 14:
'''Description:'''
'''Description:'''


Returns true if engine is on, false if it is off.
Returns [[true]] if engine is on, [[false]] if it is off.
 


'''Example:'''
'''Example:'''


_it = '''isEngineOn''' carOne
_it = '''isEngineOn''' carOne

Revision as of 19:28, 15 April 2006

back to COMREF

isEngineOn vehicle


Operand types:

vehicle: Object

Type of returned value:

Boolean

Description:

Returns true if engine is on, false if it is off.


Example:

_it = isEngineOn carOne