enginesRpmRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (addl, See Also)
m (Text replacement - " \|= Parameter " to " ")
 
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


|1.34|= Game version <!-- unkown -->
|gr1= RTD
____________________________________________________________________________________________


| Returns all engines RPM |= Description
|descr=Returns all engines RPM.{{Feature|afm}}
____________________________________________________________________________________________


| [[enginesRpmRTD]] RTD_helicopter |= Syntax
|s1= [[enginesRpmRTD]] RTD_helicopter


|p1= RTD_helicopter: [[Object]] |= Parameter
|p1= RTD_helicopter: [[Object]]


| [[Array]] |= RETURNVALUE
|r1= [[Array]]


|x1= <sqf>enginesRpmRTD RTD_helicopter params ["_RPMEngine1","_RPMEngine2"];</sqf>


|x1= <code>_UH80_E1 = ([[enginesRpmRTD]] _UH80) [[select]] 0;//engine 1 RPM
|seealso= [[isObjectRTD]] [[enginesTorqueRTD]] [[enginesIsOnRTD]] [[airDensityRTD]] [[weightRTD]] [[wingsForcesRTD]]
_UH80_E2 = ([[enginesRpmRTD]] _UH80) [[select]] 1;//engine 2 RPM</code>|= EXAMPLE1
 
____________________________________________________________________________________________
 
| [[isObjectRTD]], [[enginesTorqueRTD]], [[enginesIsOnRTD]], [[airDensityRTD]], [[weightRTD]], [[wingsForcesRTD]] |= 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>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: RTD|{{uc:{{PAGENAME}}}}]]

Latest revision as of 18:03, 15 August 2022

Hover & click on the images for description

Description

Description:
Returns all engines 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:
enginesRpmRTD RTD_helicopter
Parameters:
RTD_helicopter: Object
Return Value:
Array

Examples

Example 1:
enginesRpmRTD RTD_helicopter params ["_RPMEngine1","_RPMEngine2"];

Additional Information

See also:
isObjectRTD enginesTorqueRTD enginesIsOnRTD airDensityRTD weightRTD wingsForcesRTD

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