setEngineRpmRTD

From Bohemia Interactive Community
Jump to navigation Jump to search
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