engineOn: Difference between revisions
Jump to navigation
Jump to search
m (changed global to local variable to make clear the variable) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | vehicle '''engineOn''' state |= Syntax | ||
|p1= [[Object | |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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.9
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Object Information