# Set Fog Color Over Time

Grammar — Set fog’s color to color over duration seconds
FlagsNative | Action

Sets the color of environmental fog.

# Arguments

  • color — Color
  • fixed — Duration

Returns — void

native void FogSetColorOverTime(color c, fixed timeRamp);

Category: Environment / Fog And Background

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L3360
FogSetColorOverTime(Color(100.00, 35.29, 16.86), 2.0)
// L5846
FogSetColorOverTime(Color(36.86, 85.88, 77.25), 4.0)
// L3949
FogSetColorOverTime(Color(21.57, 34.51, 44.31), 90.0)
// L3360
FogSetColorOverTime(Color(100.00, 35.29, 16.86), 2.0)
// L5846
FogSetColorOverTime(Color(36.86, 85.88, 77.25), 4.0)
// L3949
FogSetColorOverTime(Color(21.57, 34.51, 44.31), 90.0)