setEngineRPMRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
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

Hover & click on the images for description

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
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:
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

Notes

Bottom Section