setWantedRPMRTD: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| TKOH | | TKOH | ||
|gr1= RTD | |gr1= RTD | ||
|1.00 | |1.00 | ||
|game2= arma 3 |Game 2 Name= | |game2= arma 3 |Game 2 Name= | ||
Line 18: | Line 18: | ||
* engine index 2: engine #3 | * engine index 2: engine #3 | ||
* engine index -1: all engines | * engine index -1: all engines | ||
{{Feature|afm}} | {{Feature|afm}} | ||
| helicopterRTD '''setWantedRPMRTD''' [value, time, engineIndex] | | helicopterRTD '''setWantedRPMRTD''' [value, time, engineIndex] | ||
|p1= helicopterRTD : [[ObjectRTD]] - helicopter | |p1= helicopterRTD : [[ObjectRTD]] - helicopter | ||
|p2= value : [[Number]] - engine RPMs | |p2= value : [[Number]] - engine RPMs | ||
|p3= time : [[Number]] - time to reach desired RPMs (seconds) | |p3= time : [[Number]] - time to reach desired RPMs (seconds) | ||
|p4= engineIndex : [[Number]] - engine index | |p4= engineIndex : [[Number]] - engine index | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[vehicle]] [[player]] [[setWantedRPMRTD]] [2500, 30, 0];</code> | |x1= <code>[[vehicle]] [[player]] [[setWantedRPMRTD]] [2500, 30, 0];</code> | ||
| [[setEngineRPMRTD]] | | [[setEngineRPMRTD]] | ||
}} | }} |
Revision as of 11:10, 18 January 2021
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
- Groups:
- RTD
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
- See also:
- setEngineRPMRTD
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