setEngineRpmRTD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
|p1= helicopter: [[Object]] | |p1= helicopter: [[Object]] | ||
|p2= rpm: [[Number]] - | |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 | ||
Line 25: | Line 25: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>myHelicopter setEngineRpmRTD [1337, -1];</sqf> | ||
|seealso= [[setWantedRPMRTD]] [[rotorsRpmRTD]] [[enginesRpmRTD]] | |seealso= [[setWantedRPMRTD]] [[rotorsRpmRTD]] [[enginesRpmRTD]] | ||
}} | }} |
Latest revision as of 16:35, 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