Arma 3 Scripting

Command in Environment

windDir

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the current wind azimuth.

Syntax

windDir

Returns: Number - azimuth

Examples

Example 1

if (windDir < 45 || windDir > 315) then {
    hint "I feel a southern wind"; // wind going from South to North
};

See also

wind · setWindDir · setWindStr · setWindForce