setEngineRPMRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| TKOH |Game name= | | TKOH |Game name= | ||
Line 11: | Line 10: | ||
| game2= arma 3 |Game2name= | | game2= arma 3 |Game2name= | ||
|version2=1.34|Game 2 Version= | |version2=1.34|Game 2 Version= | ||
| Instantly set a helicopter's engine RPMs to the given value. | | Instantly set a helicopter's engine RPMs to the given value. | ||
Line 19: | Line 17: | ||
* engine index -1: all engines | * engine index -1: all engines | ||
{{Feature|afm}}|DESCRIPTION= | {{Feature|afm}}|DESCRIPTION= | ||
| helicopterRTD '''setEngineRPMRTD''' [value, engineIndex]|SYNTAX= | | helicopterRTD '''setEngineRPMRTD''' [value, engineIndex]|SYNTAX= | ||
Line 28: | Line 25: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>(vehicle player) setEngineRPMRTD [6500, -1];</code> |= | |x1= <code>(vehicle player) setEngineRPMRTD [6500, -1];</code> |= |
Revision as of 02:32, 17 January 2021
Description
- Description:
- Instantly set a helicopter's engine RPMs to the given value.
- engine index 0: engine #1
- engine index 1: engine #2
- engine index 2: engine #3
- engine index -1: all engines
- Groups:
- RTD
Syntax
- Syntax:
- helicopterRTD setEngineRPMRTD [value, engineIndex]
- Parameters:
- helicopterRTD: ObjectRTD - helicopter
- value: Number - desired RPMs
- engineIndex: Number - engine index
- Return Value:
- Nothing
Examples
- Example 1:
(vehicle player) setEngineRPMRTD [6500, -1];
Additional Information
- See also:
- setWantedRPMRTD
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