engineOn: 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#E|COMREF]]
<h2 style="color:#000066">''vehicle '''''engineOn ''enable'''''</h2>
<h2 style="color:#000066">''vehicle '''''engineOn ''enable'''''</h2>


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


vehicle: [[Object]]
'''vehicle:''' [[Object]]
 
'''
enable: [[Boolean]]
enable:''' [[Boolean]]


'''Type of returned value:'''
'''Type of returned value:'''


Nothing
[[Nothing]]


'''Description:'''
'''Description:'''


Switch engine off / on for given vehicle.
Switch engine off / on for given vehicle.


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


carOne '''engineOn''' true
carOne '''engineOn''' [[true]]

Revision as of 03:17, 16 April 2006

back to COMREF

vehicle engineOn enable


Operand types:

vehicle: Object enable: Boolean

Type of returned value:

Nothing

Description:

Switch engine off / on for given vehicle.


Example:

carOne engineOn true