Arma 3 Scripting

Command in Environment

rain

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

Description

Returns the current value of rain density.

Syntax

rain

Returns: Number in range 0..1

Examples

Example 1

_rainLevel = rain;

Multiplayer

Pre-Arma 3, each client and the server could have different rain values. Since Arma 3 the value is synced over network.

See also

setRain · fog