setWantedRPMRTD

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Take On Helicopters version1.00
Introduced with Arma 3 version1.34
  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.00

Description

Description:
Tell the helicopter engine RPMs to reach the given value within a period of time. The simulation will try to reach the RPMs, but it does not guarantee it will reach the precise value!
  • engine index 0: engine #1
  • engine index 1: engine #2
  • engine index 2: engine #3
  • engine index -1: all 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:
helicopterRTD setWantedRPMRTD [value, time, engineIndex]
Parameters:
helicopterRTD : ObjectRTD - helicopter
value : Number - engine RPMs
time : Number - time to reach desired RPMs (seconds)
engineIndex : Number - engine index
Return Value:
Nothing

Examples

Example 1:
vehicle player setWantedRPMRTD [2500, 30, 0];

Additional Information

Multiplayer:
-
See also:
setEngineRPMRTD

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section