# Set Fog Start Height Over Time
Grammar — Set fog’s start height to startHeight over duration seconds
Flags —Native
|Action
Sets the start height for environmental fog. Anything below this height will be completely obscured by environmental fog.
# Arguments
fixed
— Start Heightfixed
— Duration
Returns — void
native void FogSetStartHeightOverTime(
fixed h,
fixed timeRamp,
);
# Related
Category: Environment / Fog And Background
- [F] —
void
— Enable/Disable Fog — ( FogSetEnabled ) - [F] —
void
— Enable/Disable Fog At Ultra — ( FogSetDisableAtUltra ) - [F] —
void
— Set Fog Density — ( FogSetDensity ) - [F] —
void
— Set Fog Color — ( FogSetColor ) - [F] —
void
— Set Fog Falloff — ( FogSetFallOff ) - [F] —
void
— Set Fog Start Height — ( FogSetStartHeight ) - [F] —
void
— Set Fog Density Over Time — ( FogSetDensityOverTime ) - [F] —
void
— Set Fog Color Over Time — ( FogSetColorOverTime ) - [F] —
void
— Set Fog Falloff Over Time — ( FogSetFallOffOverTime ) - [F] —
void
— Set Fog Start Height Over Time — ( FogSetStartHeightOverTime ) - [F] —
void
— Set Background Model — ( GameSetBackground )
# Examples
# campaigns/swarm.sc2campaign
// 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)