engineOn: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.9|= Game version | |||
____________________________________________________________________________________________ | |||
| Activates and deactivates the engine of a vehicle. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | vehicle '''engineOn''' state |= Syntax | ||
|p1= vehicle: [[Object]] |= Parameter 1 | |||
|p2= state: [[Boolean]] - true to turn the engine on, false to turn it off |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>?!(isEngineOn jeep) : jeep engineOn true</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
[[ | | [[isEngineOn]] |= See also | ||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|ENGINEON]] | |||
[[Category:Scripting Commands OFP 1.96|ENGINEON]] | |||
[[Category:Scripting Commands OFP 1.46|ENGINEON]] | |||
[[Category:Scripting Commands ArmA|ENGINEON]] |
Revision as of 10:08, 2 August 2006
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:
?!(isEngineOn 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