windRTD: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
mNo edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


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


|descr= Returns wind strength and direction.
{{Feature|afm}}


|s1= [[windRTD]]


|1.00|Game version=
|r1= [[Array]] with [windStrength, windDirection]
| game2= arma 3 |Game2name=
* windStrength: [[Number]]
|version2=1.34|Game 2 Version=
* windDirection: [[Number]]


____________________________________________________________________________________________
|x1= <sqf>_wind = windRTD;</sqf>
 
| Returns wind strength and direction.
{{Feature|afm}} |DESCRIPTION=
____________________________________________________________________________________________
 
| [[windRTD]]|SYNTAX=
 
| [[Array]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_wind = [[windRTD]];</code> |EXAMPLE1=
 
| [[wind]] [[setWind]] |SEEALSO=


|seealso= [[wind]] [[setWind]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Latest revision as of 17:30, 4 January 2026

Hover & click on the images for description

Description

Description:
Returns wind strength and direction.
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:
windRTD
Return Value:
Array with [windStrength, windDirection]

Examples

Example 1:
_wind = windRTD;

Additional Information

See also:
wind setWind

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note