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 - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| toh |Game name=
| toh |Game name=
Line 11: Line 10:


|version2=1.34|Game 2 Version=
|version2=1.34|Game 2 Version=
____________________________________________________________________________________________


|{{Feature|afm}} Returns force produced by wings. |DESCRIPTION=
|{{Feature|afm}} Returns force produced by wings. |DESCRIPTION=
____________________________________________________________________________________________


| '''wingsForcesRTD''' RTD_helicopter |SYNTAX=  
| '''wingsForcesRTD''' RTD_helicopter |SYNTAX=  
Line 24: Line 21:
|x1= <code>_wingForce = [[wingsForcesRTD]] _rtdHelo</code>|EXAMPLE1=  
|x1= <code>_wingForce = [[wingsForcesRTD]] _rtdHelo</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[isObjectRTD]], [[enginesRpmRTD]], [[enginesTorqueRTD]], [[airDensityRTD]], [[wind]], [[windDir]], [[windStr]] |SEEALSO=  
| [[isObjectRTD]], [[enginesRpmRTD]], [[enginesTorqueRTD]], [[airDensityRTD]], [[wind]], [[windDir]], [[windStr]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 05:20, 17 January 2021

-wrong parameter ("toh") defined!-[[:Category:Introduced with toh version 1.00|1.00]]Arma 3 logo black.png1.34
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

[[Category:Introduced with toh version 1.00]][[ Category: toh: New Scripting Commands | WINGSFORCESRTD]][[ Category: toh: Scripting Commands | WINGSFORCESRTD]]

Notes

Bottom Section

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 ] ]