setEngineRpmRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2") |
||
Line 17: | Line 17: | ||
|p2= rpm: [[Number]] - Wanted RPM | |p2= rpm: [[Number]] - Wanted RPM | ||
|p3= engineIndex: [[Number]] - | |p3= engineIndex: [[Number]] - index of the engine | ||
* engine index 0: engine #1 | * engine index 0: engine #1 | ||
* engine index 1: engine #2 | * engine index 1: engine #2 |
Revision as of 15:33, 8 November 2023
Description
- Description:
- Sets the RPM of given engines.
- Groups:
- RTD
Syntax
- Syntax:
- helicopter setEngineRpmRTD [rpm, engineIndex]
- Parameters:
- helicopter: Object
- rpm: Number - Wanted RPM
- engineIndex: Number - index of the engine
- engine index 0: engine #1
- engine index 1: engine #2
- engine index 2: engine #3
- engine index -1: all engines
- Return Value:
- Nothing
Examples
- Example 1:
- myHelicopter setEngineRpmRTD [1337, -1];
Additional Information
- See also:
- setWantedRPMRTD rotorsRpmRTD enginesRpmRTD
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