windRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \[\[Category:Take[ _]On[ _]Helicopters:[ _]New[ _]Scripting[ _]Commands[ _]List(\|[^]]+)?\]\]" to "")
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|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| TKOH |Game name=
| TKOH


|gr1= RTD |GROUP1=
|gr1= RTD






|1.00|Game version=
|1.00
| game2= arma 3 |Game2name=
| game2= arma 3 |Game2name=
|version2=1.34|Game 2 Version=
|version2=1.34|Game 2 Version=
Line 13: Line 13:


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


| [[windRTD]]|SYNTAX=
| [[windRTD]]


| [[Array]] |RETURNVALUE=
| [[Array]]


|x1= <code>_wind = [[windRTD]];</code> |EXAMPLE1=
|x1= <code>_wind = [[windRTD]];</code>


| [[wind]] [[setWind]] |SEEALSO=
| [[wind]] [[setWind]]


}}
}}

Revision as of 12:43, 18 January 2021

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

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 or on the Forums.
Only post proven facts here! Add Note

Bottom Section