wind: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Environment | |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. | '''NOTE:''' the last value (z, "up-down") always returns 0 – wind being only horizontal. | ||
| '''wind''' | | '''wind''' | ||
| [[Array]] | | [[Array]] | ||
|x1= <code>_windArray = '''wind''';</code> | |x1= <code>_windArray = '''wind''';</code> | ||
| [[setWind]], [[windDir]] | | [[setWind]], [[windDir]] | ||
}} | }} |
Revision as of 11:42, 18 January 2021
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
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