wind: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix [x,z,y] → [x,y,z] and remove feint's comment) |
m (template:command argument fix) |
||
Line 8: | 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. |= | '''NOTE:''' the last value (z, "up-down") always returns 0 – wind being only horizontal. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''wind''' |= | | '''wind''' |SYNTAX= | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_windArray = '''wind''';</code> |= | |x1= <code>_windArray = '''wind''';</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setWind]], [[windDir]] |= | | [[setWind]], [[windDir]] |SEEALSO= | ||
}} | }} |
Revision as of 14:51, 7 April 2019
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:
- Uncategorised
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