wingsForcesRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - ">Posted on March ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-03-$1")
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| toh |Game name=
|game1= tkoh
|version1= 1.00


|gr1= RTD |GROUP1=
|game2= arma3
|version2= 1.34


|1.00|Game version=
|gr1= RTD


|game2= arma 3 |Game 2 Name=
|descr= {{Feature|afm}} Returns force produced by wings.


|version2=1.34|Game 2 Version=
|s1= [[wingsForcesRTD]] RTD_helicopter
____________________________________________________________________________________________


|{{Feature|afm}} Returns force produced by wings. |DESCRIPTION=
|p1= RTD_helicopter: [[Object]]
____________________________________________________________________________________________


| '''wingsForcesRTD''' RTD_helicopter |SYNTAX=  
|r1= [[Array]]
|p1= RTD_helicopter: [[Object]] |PARAMETER1=


| [[Array]] |RETURNVALUE=  
|x1= <sqf>_wingForce = wingsForcesRTD _rtdHelo;</sqf>


 
|seealso= [[isObjectRTD]] [[enginesRpmRTD]] [[enginesTorqueRTD]] [[airDensityRTD]] [[wind]] [[windDir]] [[windStr]]
|x1= <code>_wingForce = [[wingsForcesRTD]] _rtdHelo</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[isObjectRTD]], [[enginesRpmRTD]], [[enginesTorqueRTD]], [[airDensityRTD]], [[wind]], [[windDir]], [[windStr]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}


<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<dl class='command_description'>
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
<dt></dt>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<dd class="notedate">Posted on 2015-03-19 - 20:37 (UTC)</dd>
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|New Scripting Commands}}
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on March 19, 2015 - 20:37 (UTC)</dd>
<dt class="note">[[User:Douggem|Douggem]]</dt>
<dt class="note">[[User:Douggem|Douggem]]</dt>
<dd class="note">
<dd class="note">
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 ] ]
<sqf>[[0.3993577, 11.72865, -30.21434], [0.3053164, 11.17272, -30.17695], [94.33984, 51.3513, -40.4908]]</sqf>
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 23:06, 13 May 2023

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:
isObjectRTD enginesRpmRTD enginesTorqueRTD airDensityRTD wind windDir windStr

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 2015-03-19 - 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]]