enginesTorqueRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
mNo edit summary
 
(29 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.34


|gr1= RTD
|gr1= RTD


|descr= Torque produced by engines in '''N·m''' (Newton × meter).
{{Feature|afm}}


|s1= [[enginesTorqueRTD]] RTD_helicopter


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


| Torque produced by engines in '''N·m''' (Newton*meter).{{Feature|afm}}
|r1= [[Array]] of [[Number]]s - torque per engine


| [[enginesTorqueRTD]] RTD_helicopter
|x1= <sqf>
_UH80_E1 = (enginesTorqueRTD _UH80) select 0; // engine 1 Torque
_UH80_E2 = (enginesTorqueRTD _UH80) select 1; // engine 2 Torque
</sqf>


|p1= RTD_helicopter: [[Object]] |= Parameter
|seealso= [[isObjectRTD]] [[enginesIsOnRTD]] [[enginesRpmRTD]] [[weightRTD]] [[airDensityRTD]] [[wingsForcesRTD]]
 
| [[Array]]
 
 
|x1= <code>_UH80_E1 = ([[enginesTorqueRTD]] _UH80) [[select]] 0;//engine 1 Torque
_UH80_E2 = ([[enginesTorqueRTD]] _UH80) [[select]] 1;//engine 2 Torque</code>
 
 
| [[isObjectRTD]], [[enginesIsOnRTD]], [[enginesRpmRTD]], [[weightRTD]], [[airDensityRTD]], [[wingsForcesRTD]]
 
|
}}
}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 21:38, 26 September 2024

Hover & click on the images for description

Description

Description:
Torque produced by engines in N·m (Newton × meter).
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:
enginesTorqueRTD RTD_helicopter
Parameters:
RTD_helicopter: Object
Return Value:
Array of Numbers - torque per engine

Examples

Example 1:
_UH80_E1 = (enginesTorqueRTD _UH80) select 0; // engine 1 Torque _UH80_E2 = (enginesTorqueRTD _UH80) select 1; // engine 2 Torque

Additional Information

See also:
isObjectRTD enginesIsOnRTD enginesRpmRTD weightRTD airDensityRTD 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