# Set Fog Start Height

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

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

# Arguments

  • fixed — Start Height

Returns — void

native void FogSetStartHeight(fixed h);

Category: Environment / Fog And Background

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L19955
FogSetStartHeight(-5.904)
// L7549
FogSetStartHeight((gv__4HeightOfLava - 7.0))
// L7915
FogSetStartHeight((gv__4HeightOfLava - 7.0))
// L12006
FogSetStartHeight(2.0)
// L19955
FogSetStartHeight(-5.904)
// L7549
FogSetStartHeight((gv__4HeightOfLava - 7.0))
// L7915
FogSetStartHeight((gv__4HeightOfLava - 7.0))
// L12006
FogSetStartHeight(2.0)
// L1355
FogSetStartHeight(0.0)
// L12160
FogSetStartHeight(-4.0)
// L12361
FogSetStartHeight(-4.0)
// L445
FogSetStartHeight(0.0)
// L360
FogSetStartHeight(0.0)
// L368
FogSetStartHeight(0.0)
// L1355
FogSetStartHeight(0.0)
// L12160
FogSetStartHeight(-4.0)
// L12361
FogSetStartHeight(-4.0)
// L445
FogSetStartHeight(0.0)
// L360
FogSetStartHeight(0.0)
// L368
FogSetStartHeight(0.0)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L7533
FogSetStartHeight(0.0)
// L8829
FogSetStartHeight(0.0)

# campaigns/void.sc2campaign

MapScript.galaxy

// L375
FogSetStartHeight(-0.9)
// L468
FogSetStartHeight(-0.5)
// L529
FogSetStartHeight(4.0)
// L375
FogSetStartHeight(-0.9)
// L468
FogSetStartHeight(-0.5)
// L529
FogSetStartHeight(4.0)