wind: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) |
||
Line 27: | Line 27: | ||
|x1= <code>_windArray = '''wind''';</code> | |x1= <code>_windArray = '''wind''';</code> | ||
|seealso= [[setWind]] | |seealso= [[setWind]] [[windDir]] | ||
}} | }} | ||
Revision as of 20:49, 20 January 2022
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Environment