Difference between revisions of "setEngineRpmRTD"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
Line 25: 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 11:24, 13 May 2022

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