wind: Difference between revisions

From Bohemia Interactive Community
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. |= Description
'''NOTE:''' the last value (z, "up-down") always returns 0 – wind being only horizontal. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [[Array]] |= Return value
| [[Array]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


}}
}}

Revision as of 14:51, 7 April 2019

-wrong parameter ("Arma") defined!- 1.00
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:
Uncategorised

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