engineOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object#Vehicle|Vehicle]] '''engineOn''' state |= Syntax
| vehicle '''engineOn''' state |= Syntax


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


|p2= state: [[Boolean]] - true to turn the engine on, false to turn it off |= Parameter 2
|p2= state: [[Boolean]] - true to turn the engine on, false to turn it off |= Parameter 2

Revision as of 19:27, 22 January 2009

Hover & click on the images for description

Description

Description:
Activates and deactivates the engine of a vehicle.
Groups:
Uncategorised

Syntax

Syntax:
vehicle engineOn state
Parameters:
vehicle: Object
state: Boolean - true to turn the engine on, false to turn it off
Return Value:
Nothing

Examples

Example 1:
?!(EngineOn _jeep) : _jeep engineOn true

Additional Information

See also:
isEngineOn

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