setEngineRpmRTD

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.341.34Introduced with Take On Helicopters version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Sets the RPM of given engines.
BIS Helicopter DLC Icon v2.png
For this command to have any effect, the Arma 3 Advanced Helicopter Flight Model (AFM) has to be enabled. If AFM is enabled can be checked with difficultyEnabledRTD.

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

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.