engineOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 5: Line 5:




<h2 style="color:#000066">''vehicle '''''engineOn ''enable'''''</h2>
<h2 style="color:#000066">'''''vehicle'' engineOn ''enable'''''</h2>




Line 11: Line 11:


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


'''Type of returned value:'''
'''Type of returned value:'''
Line 20: Line 20:
'''Description:'''
'''Description:'''


Switch engine off / on for given vehicle.
Switch the vehicle's engine on (true) or off (false.





Revision as of 23:00, 3 July 2006


vehicle engineOn enable


Operand types:

vehicle: Object

enable: Boolean

Type of returned value:

Nothing

Description:

Switch the vehicle's engine on (true) or off (false.


Example:

carOne engineOn true