# Set Fog Start Height Over Time

Grammar — Set fog’s start height to startHeight over duration seconds
FlagsNative | Action

Sets the start height for environmental fog. Anything below this height will be completely obscured by environmental fog.

# Arguments

  • fixed — Start Height
  • fixed — Duration

Returns — void

native void FogSetStartHeightOverTime(
	fixed h,
	fixed timeRamp,
);

Category: Environment / Fog And Background

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L605
FogSetStartHeightOverTime(8.0, lp_dURATION)
// L629
FogSetStartHeightOverTime(0.0, lp_dURATION)
// L2437
FogSetStartHeightOverTime(8.0, 5.0)
// L5445
FogSetStartHeightOverTime(4.0, 4.0)
// L5492
FogSetStartHeightOverTime(2.0, 4.0)
// L605
FogSetStartHeightOverTime(8.0, lp_dURATION)
// L629
FogSetStartHeightOverTime(0.0, lp_dURATION)
// L2437
FogSetStartHeightOverTime(8.0, 5.0)
// L5445
FogSetStartHeightOverTime(4.0, 4.0)
// L5492
FogSetStartHeightOverTime(2.0, 4.0)