rotorsRpmRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.34


|gr1= RTD |GROUP1=
|gr1= RTD


|descr=Returns rotors RPM. {{Feature|afm}}


|s1= [[rotorsRpmRTD]] RTD_helicopter


|1.34|Game version= <!-- unkown -->
|p1= RTD_helicopter: [[Object]]
____________________________________________________________________________________________


|Returns rotors RPM. {{Feature|afm}} |DESCRIPTION=
|r1= [[Array]]
____________________________________________________________________________________________


| [[rotorsRpmRTD]] RTD_helicopter |SYNTAX=
|x1= <sqf>
_mh9_main = (rotorsRpmRTD _MH9) select 0;//main rotor
_mh9_tail = (rotorsRpmRTD _MH9) select 1;//tail rotor
</sqf>


|p1= RTD_helicopter: [[Object]] |= Parameter
|seealso= [[rotorsForcesRTD]] [[weightRTD]] [[wingsForcesRTD]] [[airDensityRTD]]
 
| [[Array]] |RETURNVALUE=
 
 
|x1= <code>_mh9_main = ([[rotorsRpmRTD]] _MH9) [[select]] 0;//main rotor
_mh9_tail = ([[rotorsRpmRTD]] _MH9) [[select]] 1;//tail rotor</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[rotorsForcesRTD]], [[weightRTD]], [[wingsForcesRTD]], [[airDensityRTD]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 19:42, 3 September 2024

Hover & click on the images for description

Description

Description:
Returns rotors RPM.
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:
rotorsRpmRTD RTD_helicopter
Parameters:
RTD_helicopter: Object
Return Value:
Array

Examples

Example 1:
_mh9_main = (rotorsRpmRTD _MH9) select 0;//main rotor _mh9_tail = (rotorsRpmRTD _MH9) select 1;//tail rotor

Additional Information

See also:
rotorsForcesRTD weightRTD wingsForcesRTD airDensityRTD

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