Arma 3 Scripting

Command in Environment

setWindDir

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

Description

Changes the wind direction smoothly.

Syntax

Syntax 1

time setWindDir value

Parameters:

Returns: Nothing

Syntax 2

setWindDir direction

Parameters:

Returns: Nothing

Examples

Example 1

60 setWindDir 180;

Example 2

setWindDir [1, -15];

Multiplayer

Effect is global only when executed on the server. On clients wind direction will sync to server value in a while.

See also

windDir

Community notes

Waffle SS.

Seems to make wind [0, 0] in MP. (Arma 3 v1.00)