setEngineRpmRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3
|game1= tkoh
|version1= 1.00


|game2= TKOH
|game2= arma3
 
|version2= 1.34
|version2= 1.00
 
|version1= 1.34


|gr1= RTD
|gr1= RTD


|descr= Sets the RPM of given engines. {{Feature|afm}}
|descr= Sets the RPM of given engines. {{Feature|afm}}


|s1= helicopter [[setEngineRpmRTD]] [rpm, engineIndex]
|s1= helicopter [[setEngineRpmRTD]] [rpm, engineIndex]
Line 17: Line 15:
|p1= helicopter: [[Object]]
|p1= helicopter: [[Object]]


|p2= rpm: [[Number]] - Wanted RPM
|p2= rpm: [[Number]] - wanted RPM


|p3= engineIndex: [[Number]] - Index of the engine
|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 27: Line 25:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>myHelicopter [[setEngineRpmRTD]] [1337, -1];</code>
|x1= <sqf>myHelicopter setEngineRpmRTD [1337, -1];</sqf>


|seealso= [[setWantedRPMRTD]] [[rotorsRpmRTD]] [[enginesRpmRTD]]
|seealso= [[setWantedRPMRTD]] [[rotorsRpmRTD]] [[enginesRpmRTD]]
}}
}}

Latest revision as of 16:35, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets the RPM of given engines.
Advanced Helicopter Flight Model
For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.
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