wingsForcesRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| toh
|game1= tkoh
|version1= 1.00
 
|game2= arma 3
|version2= 1.34


|gr1= RTD
|gr1= RTD


|1.00
|descr= {{Feature|afm}} Returns force produced by wings.
 
|game2= arma 3
 
|version2=1.34


|{{Feature|afm}} Returns force produced by wings.
|s1= [[wingsForcesRTD]] RTD_helicopter


| '''wingsForcesRTD''' RTD_helicopter
|p1= RTD_helicopter: [[Object]]
|p1= RTD_helicopter: [[Object]]


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


|x1= <code>_wingForce = [[wingsForcesRTD]] _rtdHelo</code>
|x1= <code>_wingForce = [[wingsForcesRTD]] _rtdHelo</code>
Line 22: Line 21:
|seealso= [[isObjectRTD]], [[enginesRpmRTD]], [[enginesTorqueRTD]], [[airDensityRTD]], [[wind]], [[windDir]], [[windStr]]
|seealso= [[isObjectRTD]], [[enginesRpmRTD]], [[enginesTorqueRTD]], [[airDensityRTD]], [[wind]], [[windDir]], [[windStr]]
}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|New Scripting Commands}}


<dl class="command_description">
<dl class="command_description">
Line 34: Line 29:
Advanced helicopter flight model MUST be enabled for this function to work, otherwise it returns an empty array.
Advanced helicopter flight model MUST be enabled for this function to work, otherwise it returns an empty array.
Returns a 3x3 two-dimensional array.  In the editor while climbing in a little bird, it returned this:  
Returns a 3x3 two-dimensional array.  In the editor while climbing in a little bird, it returned this:  
[ [ 0.3993577, 11.72865, -30.21434 ], [ 0.3053164, 11.17272, -30.17695 ], [ 94.33984, 51.3513, -40.4908 ] ]
<code>[<nowiki/>[0.3993577, 11.72865, -30.21434], [0.3053164, 11.17272, -30.17695], [94.33984, 51.3513, -40.4908]]</code>
</dd>
</dd>
</dl>
</dl>

Revision as of 17:38, 23 May 2021

Hover & click on the images for description

Description

Description:
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.
Returns force produced by wings.
Groups:
RTD

Syntax

Syntax:
wingsForcesRTD RTD_helicopter
Parameters:
RTD_helicopter: Object
Return Value:
Array

Examples

Example 1:
_wingForce = wingsForcesRTD _rtdHelo

Additional Information

See also:
isObjectRTDenginesRpmRTDenginesTorqueRTDairDensityRTDwindwindDirwindStr

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
Posted on March 19, 2015 - 20:37 (UTC)
Douggem
Advanced helicopter flight model MUST be enabled for this function to work, otherwise it returns an empty array. Returns a 3x3 two-dimensional array. In the editor while climbing in a little bird, it returned this: [[0.3993577, 11.72865, -30.21434], [0.3053164, 11.17272, -30.17695], [94.33984, 51.3513, -40.4908]]