Arma 3 Scripting

Command in Environment

fog

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

Description

A getter for setFog. Returns the current value of the fog in range 0..1.

Syntax

fog

Returns: Number

Examples

Example 1

_foglevel = fog;

Multiplayer

Before Arma 3, each client and the server could have different values. In Arma 3 the value is synced across network.

See also

fogParams · fogForecast · setFog · nextWeatherChange