wind: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
mNo edit summary
 
Line 22: Line 22:
|s1= [[wind]]
|s1= [[wind]]


|r1= [[Array]] format [[Vector3D]] - [x, y, 0]. with wind being only horizontal
|r1= [[Vector3D]] - [x, y, 0]. with wind being only horizontal


|x1= <sqf>_windArray = wind;</sqf>
|x1= <sqf>_windArray = wind;</sqf>

Latest revision as of 10:14, 4 April 2026

Hover & click on the images for description

Description

Description:
Returns the current wind vector (in m/s).
Groups:
Environment

Syntax

Syntax:
wind
Return Value:
Vector3D - [x, y, 0]. with wind being only horizontal

Examples

Example 1:
_windArray = wind;

Additional Information

See also:
setWind windDir

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Ceeeb - c
Posted on Aug 10, 2008 - 04:38 (UTC)
In OFP 1.96, wind speed and direction are directly related to overcast.