engineOn: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (changed global to local variable to make clear the variable) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Object#Vehicle|Vehicle]] '''engineOn''' state |= Syntax | ||
|p1= | |p1= [[Object#Vehicle|Vehicle]] |= 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 | ||
Line 19: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>?!( | |x1= <pre>?!(EngineOn _jeep) : _jeep engineOn true</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 10:11, 27 August 2007
Description
- Description:
- Activates and deactivates the engine of a vehicle.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Vehicle engineOn state
- Parameters:
- Vehicle
- 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