setWantedRPMRTD
- Arma 3 v1.34
- First in Take On Helicopters v1.00
Command · Markdown · JSON · original wiki page
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
Note
afm: For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.
Syntax
helicopterRTD setWantedRPMRTD [value, time, engineIndex]
Parameters:
helicopterRTD: ObjectRTD - helicoptervalue: Number - engine RPMstime: Number - time to reach desired RPMs (seconds)engineIndex: Number - engine index
Returns: Nothing
Examples
Example 1
vehicle player setWantedRPMRTD [2500, 30, 0];