# 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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.galaxy:5492

    FogSetDensityOverTime(0.125, 4.0);
    FogSetFallOffOverTime(0.24, 4.0);
    FogSetStartHeightOverTime(2.0, 4.0);
    return true;
}