Arma 3 Scripting

windDir

  • Arma 3 v0.50

Command · Markdown · JSON · 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