Arma 3 Scripting

fog

  • Arma 3 v0.50
  • First in Armed Assault v1.00

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