# 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
- Enable/Disable Fog —
void
— FogSetEnabled - Enable/Disable Fog At Ultra —
void
— FogSetDisableAtUltra - Set Fog Density —
void
— FogSetDensity - Set Fog Color —
void
— FogSetColor - Set Fog Falloff —
void
— FogSetFallOff - Set Fog Start Height —
void
— FogSetStartHeight - Set Fog Density Over Time —
void
— FogSetDensityOverTime - Set Fog Color Over Time —
void
— FogSetColorOverTime - Set Fog Falloff Over Time —
void
— FogSetFallOffOverTime - Set Fog Start Height Over Time —
void
— FogSetStartHeightOverTime - Set Background Model —
void
— GameSetBackground
# Examples
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:605
FogSetDensityOverTime(0.2, lp_dURATION);
FogSetFallOffOverTime(0.3, lp_dURATION);
FogSetStartHeightOverTime(8.0, lp_dURATION);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:629
FogSetDensityOverTime(0.1, lp_dURATION);
FogSetFallOffOverTime(0.2, lp_dURATION);
FogSetStartHeightOverTime(0.0, lp_dURATION);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:2437
FogSetDensityOverTime(0.2, 5.0);
FogSetFallOffOverTime(0.3, 5.0);
FogSetStartHeightOverTime(8.0, 5.0);
TriggerQueueEnter();
gf_StartFlashFreeze();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:5445
FogSetDensityOverTime(0.15, 4.0);
FogSetFallOffOverTime(0.28, 4.0);
FogSetStartHeightOverTime(4.0, 4.0);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:5492
FogSetDensityOverTime(0.125, 4.0);
FogSetFallOffOverTime(0.24, 4.0);
FogSetStartHeightOverTime(2.0, 4.0);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:605
FogSetDensityOverTime(0.2, lp_dURATION);
FogSetFallOffOverTime(0.3, lp_dURATION);
FogSetStartHeightOverTime(8.0, lp_dURATION);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:629
FogSetDensityOverTime(0.1, lp_dURATION);
FogSetFallOffOverTime(0.2, lp_dURATION);
FogSetStartHeightOverTime(0.0, lp_dURATION);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:2437
FogSetDensityOverTime(0.2, 5.0);
FogSetFallOffOverTime(0.3, 5.0);
FogSetStartHeightOverTime(8.0, 5.0);
TriggerQueueEnter();
gf_StartFlashFreeze();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:5445
FogSetDensityOverTime(0.15, 4.0);
FogSetFallOffOverTime(0.28, 4.0);
FogSetStartHeightOverTime(4.0, 4.0);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:5492
FogSetDensityOverTime(0.125, 4.0);
FogSetFallOffOverTime(0.24, 4.0);
FogSetStartHeightOverTime(2.0, 4.0);
return true;
}