wind: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" 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


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= Environment |GROUP1=
|gr1= Environment






| Returns the current wind vector (in m/s) as array [x, y, z].<br>
| Returns the current wind vector (in m/s) as array [x, y, z].<br>
'''NOTE:''' the last value (z, "up-down") always returns 0 – wind being only horizontal. |DESCRIPTION=
'''NOTE:''' the last value (z, "up-down") always returns 0 – wind being only horizontal.


| '''wind''' |SYNTAX=
| '''wind'''


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


|x1= <code>_windArray = '''wind''';</code> |EXAMPLE1=
|x1= <code>_windArray = '''wind''';</code>


| [[setWind]], [[windDir]] |SEEALSO=
| [[setWind]], [[windDir]]


}}
}}

Revision as of 11:42, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns the current wind vector (in m/s) as array [x, y, z].
NOTE: the last value (z, "up-down") always returns 0 – wind being only horizontal.
Groups:
Environment

Syntax

Syntax:
wind
Return Value:
Array

Examples

Example 1:
_windArray = wind;

Additional Information

See also:
setWindwindDir

Notes

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

Notes

Ceeeb
In OFP 1.96, wind speed and direction are directly related to overcast.

Bottom Section