time setFog [fogValue, fogDecay, fogBase]

Operand types

time: Number
[fogValue, fogDecay, fogBase]: Array

Type of returned value

Description

Changes the fog smoothly over the given time (in seconds).
A time of zero means there will be an immediate change.
A fog value of zero is minimum fog and a fog value of one is maximum fog.

  • fogValue: Number - value for fog at base level

  • fogDecay: Number - decay of fog density with altitude

  • fogBase: Number - base altitude of fog (in meters)

Used In

Arma3

Example

0 setFog [1, 0.01, 0];
Search OFPEC COMREF