Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:2.00

Description

Description:Changes the fog smoothly over a given time period.

Syntax

Syntax:time setFogEffect [density, color, sky]
Parameters:
  • time: Number - Transition time (in seconds). If 0, then the change is immediate.
  • density: Number - Fog intensity (0-1).
  • color: Array - Color of fog.
  • sky: Number - Effect of fog on the sky (0-1).
Return Value:Nothing

Examples

Examples:
15 setFogEffect [0.5, [1,0,0], 0.5];

Additional Information

See also: setFog, fog, fog2, fogForecast, fogForecast2, nextWeatherChange
Multiplayer:
Problems:

Notes