wind: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 9: | Line 8: | ||
| 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. |DESCRIPTION= | ||
| '''wind''' |SYNTAX= | | '''wind''' |SYNTAX= | ||
| [[Array]] |RETURNVALUE= | | [[Array]] |RETURNVALUE= | ||
|x1= <code>_windArray = '''wind''';</code> |EXAMPLE1= | |x1= <code>_windArray = '''wind''';</code> |EXAMPLE1= | ||
| [[setWind]], [[windDir]] |SEEALSO= | | [[setWind]], [[windDir]] |SEEALSO= |
Revision as of 04:18, 17 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