# Set Fog Color Over Time

Grammar — Set fog’s color to color over duration seconds
FlagsNative | Action

Sets the color of environmental fog.

# Arguments

  • color — Color
  • fixed — Duration

Returns — void

native void FogSetColorOverTime(color c, fixed timeRamp);

Category: Environment / Fog And Background

# Examples

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3360

    }
    GameSetLighting("KorhalPlatformEx2_Fire", 4.0);
    FogSetColorOverTime(Color(100.00, 35.29, 16.86), 2.0);
    FogSetDensityOverTime(0.1, 2.0);
    FogSetFallOffOverTime(0.135, 2.0);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5846

    TriggerExecute(gt_VictoryMusic, true, false);
    GameSetLighting("KorhalPlatformEx2", 4.0);
    FogSetColorOverTime(Color(36.86, 85.88, 77.25), 4.0);
    FogSetDensityOverTime(0.02, 4.0);
    FogSetFallOffOverTime(0.135, 4.0);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier01.sc2map/MapScript.galaxy:3949

    libVCMI_gf_SendActorMessageToDoodadsInRegion("SetVisibility", "RainSprinkle", RegionEntireMap());
    GameSetLighting("ProtossBaseDay", 90.0);
    FogSetColorOverTime(Color(21.57, 34.51, 44.31), 90.0);
    FogSetDensityOverTime(0.18, 90.0);
    FogSetFallOffOverTime(0.15, 90.0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:3360

    }
    GameSetLighting("KorhalPlatformEx2_Fire", 4.0);
    FogSetColorOverTime(Color(100.00, 35.29, 16.86), 2.0);
    FogSetDensityOverTime(0.1, 2.0);
    FogSetFallOffOverTime(0.135, 2.0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:5846

    TriggerExecute(gt_VictoryMusic, true, false);
    GameSetLighting("KorhalPlatformEx2", 4.0);
    FogSetColorOverTime(Color(36.86, 85.88, 77.25), 4.0);
    FogSetDensityOverTime(0.02, 4.0);
    FogSetFallOffOverTime(0.135, 4.0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier01.sc2mapMapScript.galaxy:3949

    libVCMI_gf_SendActorMessageToDoodadsInRegion("SetVisibility", "RainSprinkle", RegionEntireMap());
    GameSetLighting("ProtossBaseDay", 90.0);
    FogSetColorOverTime(Color(21.57, 34.51, 44.31), 90.0);
    FogSetDensityOverTime(0.18, 90.0);
    FogSetFallOffOverTime(0.15, 90.0);