# Enable/Disable Fog

Grammar — Set fog’s enabled state to enable
FlagsNative | Action

Turns environmental fog on or off.

# Arguments

  • bool — Enable

Returns — void

native void FogSetEnabled(bool f);

Category: Environment / Fog And Background

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8920

    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryMusic, false, true);
    TriggerStop(gt_EndCinematic);
    FogSetEnabled(false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19818


    gf_PreloadRoomIfCondition(ge_RoomID_RoomArmory, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionArmory", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19848


    gf_PreloadRoomIfCondition(ge_RoomID_RoomBridge, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionBridge", 0.0);
    GameSetBackground(c_backgroundFixed, null, 5.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19888


    gf_PreloadRoomIfCondition(ge_RoomID_RoomCantina, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionCantina", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19951


    gf_PreloadRoomIfCondition(ge_RoomID_RoomChar, true);
    FogSetEnabled(true);
    FogSetColor(Color(67.84, 40.00, 27.84));
    FogSetFallOff(0.096);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20037


    gf_PreloadRoomIfCondition(ge_RoomID_RoomCorridor, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionCorridor", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20062


    gf_PreloadRoomIfCondition(ge_RoomID_RoomFlagship, true);
    FogSetEnabled(false);
    GameSetLighting("SMValerianFlagshipCorridors", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20112


    gf_PreloadRoomIfCondition(ge_RoomID_RoomLab, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionLab", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20171


    gf_PreloadRoomIfCondition(ge_RoomID_RoomMarSara, true);
    FogSetEnabled(false);
    GameSetLighting("StoryModeMarSaraBar", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20204


    gf_PreloadRoomIfCondition(ge_RoomID_RoomObservatory, true);
    FogSetEnabled(false);
    GameSetLighting("CutsceneTerran06cTerran16ValerianObservatory", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:20229


    gf_PreloadRoomIfCondition(ge_RoomID_RoomTechPurchase, true);
    FogSetEnabled(false);
    GameSetLighting("MarSara", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:8920

    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryMusic, false, true);
    TriggerStop(gt_EndCinematic);
    FogSetEnabled(false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:19818


    gf_PreloadRoomIfCondition(ge_RoomID_RoomArmory, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionArmory", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:19848


    gf_PreloadRoomIfCondition(ge_RoomID_RoomBridge, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionBridge", 0.0);
    GameSetBackground(c_backgroundFixed, null, 5.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:19888


    gf_PreloadRoomIfCondition(ge_RoomID_RoomCantina, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionCantina", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:19951


    gf_PreloadRoomIfCondition(ge_RoomID_RoomChar, true);
    FogSetEnabled(true);
    FogSetColor(Color(67.84, 40.00, 27.84));
    FogSetFallOff(0.096);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:20037


    gf_PreloadRoomIfCondition(ge_RoomID_RoomCorridor, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionCorridor", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:20062


    gf_PreloadRoomIfCondition(ge_RoomID_RoomFlagship, true);
    FogSetEnabled(false);
    GameSetLighting("SMValerianFlagshipCorridors", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:20112


    gf_PreloadRoomIfCondition(ge_RoomID_RoomLab, true);
    FogSetEnabled(false);
    GameSetLighting("SMHyperionLab", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:20171


    gf_PreloadRoomIfCondition(ge_RoomID_RoomMarSara, true);
    FogSetEnabled(false);
    GameSetLighting("StoryModeMarSaraBar", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:20204


    gf_PreloadRoomIfCondition(ge_RoomID_RoomObservatory, true);
    FogSetEnabled(false);
    GameSetLighting("CutsceneTerran06cTerran16ValerianObservatory", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:20229


    gf_PreloadRoomIfCondition(ge_RoomID_RoomTechPurchase, true);
    FogSetEnabled(false);
    GameSetLighting("MarSara", 0.0);
    GameSetBackground(c_backgroundFixed, null, 100.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:5323

    ActorSend(ActorFromDoodad(DoodadFromId(1074)), "SetVisibility");
    ActorSend(ActorFromDoodad(DoodadFromId(1074)), "SetHeight -1.000000");
    FogSetEnabled(false);
    TriggerExecute(gt_IntroMusic, true, false);
    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:5330

    CinematicFade(true, 2.0, c_fadeStyleNormal, Color(0.00, 0.00, 0.00), 0.0, false);
    libSwaC_gf_CampaignPlayCutscene2("Cutscenes\\zLD_Korhal1_DropPodCutscene.SC2Cutscene", true, true);
    FogSetEnabled(true);
    Wait(2.0, c_timeReal);
    gv_introCutsceneCompleted = true;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:5537

    GameTimeOfDayPause(false);
    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
    FogSetEnabled(true);
    EnvironmentShow(c_environmentAll, true);
    libSwaC_gf_EnableDisableZerglingRespawn(true);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:12006

    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(65), "UmojanLabTramBackground", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    ActorSend(ActorFromDoodad(DoodadFromId(532)), "SetOpacity 1.000000 1.000000");
    FogSetEnabled(false);
    EnvironmentShow(c_environmentTerrain, false);
    libNtve_gf_RemoveDoodadsinRegion(RegionFromId(29), null);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:12161

    FogSetFallOff(0.12);
    FogSetStartHeight(-4.0);
    FogSetEnabled(true);
    UnitPauseAll(true);
    AITimePause(true);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:7648

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1863), 0.0, -1, 10.0, true);
    EnvironmentShow(c_environmentAll, false);
    FogSetEnabled(false);
    TriggerExecute(gt_IntroMusic, true, false);
    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:7657

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1674), 0.0, -1, 10.0, true);
    CutsceneFade(true, 1.0, Color(0,0,0), 100.0, PlayerGroupAll(), true);
    FogSetEnabled(true);
    EnvironmentShow(c_environmentAll, true);
    SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryCombat, 30.0, 0.1);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:7808

    PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
    GameTimeOfDayPause(false);
    FogSetEnabled(true);
    EnvironmentShow(c_environmentAll, true);
    if ((gv_cinematicCompleted == false)) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorychar.sc2map/MapScript.galaxy:441

    }
    GameSetLighting("SMX1CharUI", 0.0);
    FogSetEnabled(true);
    FogSetColor(Color(50.20, 25.10, 20.39));
    FogSetDensity(0.0035);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2map/MapScript.galaxy:433

    }
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Kaldir", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryhybrid.sc2map/MapScript.galaxy:356

    lib281DEC45_gf_ShowHideUnitAbs(false, gv_uNITSETLeviathanPool);
    if ((libSwaC_gf_MissionStatusCheck("ZHybrid2", libSwaC_ge_MissionStatus_Completed) == true)) {
        FogSetEnabled(true);
        FogSetColor(Color(50.20, 60.00, 100.00));
        FogSetDensity(0.008);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryhybrid.sc2map/MapScript.galaxy:364

    }
    else {
        FogSetEnabled(true);
        FogSetColor(Color(60.00, 50.20, 29.80));
        FogSetDensity(0.01);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:387

    lib281DEC45_gf_TurnAnimationPropertiesOnOff(lib281DEC45_gf_CharacterUnit("Zagara"), "B", false, 0.0);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Korhal01", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:431

    lib281DEC45_gf_TurnAnimationPropertiesOnOff(lib281DEC45_gf_CharacterUnit("Zagara"), "B", false, 0.0);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Korhal02", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryspace.sc2map/MapScript.galaxy:354

    lib281DEC45_gf_StoryPlayMainSetSound(SoundLink("Set_Ambient_Space1_Oneshots", -1), 1);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Space", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryzerus.sc2map/MapScript.galaxy:339


    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Zerus", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    UnitSetHeight(lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), lib281DEC45_gv_zSSC_DefaultAdjutantHeight, 0.0);
    lib281DEC45_gf_StorySetUnitLocation(lib281DEC45_gf_CharacterUnit("Kerrigan"), UnitGetAttachmentPoint(gv_uNITSETLeviathan00, "Pos_SetLocation 04"));

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2mapMapScript.galaxy:5323

    ActorSend(ActorFromDoodad(DoodadFromId(1074)), "SetVisibility");
    ActorSend(ActorFromDoodad(DoodadFromId(1074)), "SetHeight -1.000000");
    FogSetEnabled(false);
    TriggerExecute(gt_IntroMusic, true, false);
    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2mapMapScript.galaxy:5330

    CinematicFade(true, 2.0, c_fadeStyleNormal, Color(0.00, 0.00, 0.00), 0.0, false);
    libSwaC_gf_CampaignPlayCutscene2("Cutscenes\\zLD_Korhal1_DropPodCutscene.SC2Cutscene", true, true);
    FogSetEnabled(true);
    Wait(2.0, c_timeReal);
    gv_introCutsceneCompleted = true;

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2mapMapScript.galaxy:5537

    GameTimeOfDayPause(false);
    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
    FogSetEnabled(true);
    EnvironmentShow(c_environmentAll, true);
    libSwaC_gf_EnableDisableZerglingRespawn(true);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2mapMapScript.galaxy:12006

    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(65), "UmojanLabTramBackground", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    ActorSend(ActorFromDoodad(DoodadFromId(532)), "SetOpacity 1.000000 1.000000");
    FogSetEnabled(false);
    EnvironmentShow(c_environmentTerrain, false);
    libNtve_gf_RemoveDoodadsinRegion(RegionFromId(29), null);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2mapMapScript.galaxy:12161

    FogSetFallOff(0.12);
    FogSetStartHeight(-4.0);
    FogSetEnabled(true);
    UnitPauseAll(true);
    AITimePause(true);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2mapMapScript.galaxy:7648

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1863), 0.0, -1, 10.0, true);
    EnvironmentShow(c_environmentAll, false);
    FogSetEnabled(false);
    TriggerExecute(gt_IntroMusic, true, false);
    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2mapMapScript.galaxy:7657

    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1674), 0.0, -1, 10.0, true);
    CutsceneFade(true, 1.0, Color(0,0,0), 100.0, PlayerGroupAll(), true);
    FogSetEnabled(true);
    EnvironmentShow(c_environmentAll, true);
    SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryCombat, 30.0, 0.1);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2mapMapScript.galaxy:7808

    PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
    GameTimeOfDayPause(false);
    FogSetEnabled(true);
    EnvironmentShow(c_environmentAll, true);
    if ((gv_cinematicCompleted == false)) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorychar.sc2mapMapScript.galaxy:441

    }
    GameSetLighting("SMX1CharUI", 0.0);
    FogSetEnabled(true);
    FogSetColor(Color(50.20, 25.10, 20.39));
    FogSetDensity(0.0035);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2mapMapScript.galaxy:433

    }
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Kaldir", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryhybrid.sc2mapMapScript.galaxy:356

    lib281DEC45_gf_ShowHideUnitAbs(false, gv_uNITSETLeviathanPool);
    if ((libSwaC_gf_MissionStatusCheck("ZHybrid2", libSwaC_ge_MissionStatus_Completed) == true)) {
        FogSetEnabled(true);
        FogSetColor(Color(50.20, 60.00, 100.00));
        FogSetDensity(0.008);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryhybrid.sc2mapMapScript.galaxy:364

    }
    else {
        FogSetEnabled(true);
        FogSetColor(Color(60.00, 50.20, 29.80));
        FogSetDensity(0.01);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2mapMapScript.galaxy:387

    lib281DEC45_gf_TurnAnimationPropertiesOnOff(lib281DEC45_gf_CharacterUnit("Zagara"), "B", false, 0.0);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Korhal01", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2mapMapScript.galaxy:431

    lib281DEC45_gf_TurnAnimationPropertiesOnOff(lib281DEC45_gf_CharacterUnit("Zagara"), "B", false, 0.0);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Korhal02", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryspace.sc2mapMapScript.galaxy:354

    lib281DEC45_gf_StoryPlayMainSetSound(SoundLink("Set_Ambient_Space1_Oneshots", -1), 1);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Space", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryzerus.sc2mapMapScript.galaxy:339


    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Leviathan_Mouth_Zerus", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    FogSetEnabled(false);
    UnitSetHeight(lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), lib281DEC45_gv_zSSC_DefaultAdjutantHeight, 0.0);
    lib281DEC45_gf_StorySetUnitLocation(lib281DEC45_gf_CharacterUnit("Kerrigan"), UnitGetAttachmentPoint(gv_uNITSETLeviathan00, "Pos_SetLocation 04"));

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7529

    if ((libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_CurrentMap(), c_mapKindMission) == false)) {
        GameSetLighting("SMX1EggRoomSet", 0.0);
        FogSetEnabled(true);
        FogSetColor(Color(9.80, 14.90, 9.80));
        FogSetFallOff(0.1);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8825

    libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_SplitUI);
    FogSetDisableAtUltra(true);
    FogSetEnabled(true);
    FogSetColor(Color(9.80, 14.90, 9.80));
    FogSetFallOff(0.1);

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:3400

    else if (auto2C44F216_val == lib281DEC45_ge_Rooms_StoryRoomMainSet) {
        CameraApplyInfo(1, CameraInfoDefault(), 0.0, -1, 10.0, true);
        FogSetEnabled(false);
        lib281DEC45_gf_ZSS_SoundMainSetStop();
        lib281DEC45_gf_ZSS_LoadSetModels(false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9566

    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    gv_cinematicCompleted2 = false;
    FogSetEnabled(false);
    CinematicFade(true, 0.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
    CutsceneCreateNoPosition("Cutscenes\\Cutscene_TutorialTerranIntro.SC2Cutscene", PlayerGroupAll(), true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9653

    }
    else {
        FogSetEnabled(true);
        GameSetLighting("AiurTempleJungle", 0.0);
        SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9687


    GameSetLighting("AiurTempleJungle", 0.0);
    FogSetEnabled(true);
    SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);
    return true;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15347

    CameraPan(gv_p01_USER, PointFromId(19), 0.0, -1, 10.0, false);
    GameSetLighting("AiurTempleJungle", 0.0);
    FogSetEnabled(false);
    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    gv_cinematicCompleted3 = false;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15456

    else {
        GameSetLighting("AiurTempleJungle", 0.0);
        FogSetEnabled(true);
        SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);
        UnitGroupLoopBegin(gv_zergStartingDrones);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15521


    GameSetLighting("AiurTempleJungle", 0.0);
    FogSetEnabled(true);
    SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);
    return true;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:19209

    CameraPan(gv_p01_USER, PointWithOffset(PointFromId(67), 0.0, -1.0), 0.0, -1, 10.0, false);
    GameSetLighting("AiurTempleJungle", 0.0);
    FogSetEnabled(false);
    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    gv_cinematicCompleted4 = false;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:19224

    UnitIssueOrder(gv_protossWarpPrism, Order(AbilityCommand("PhasingMode", 0)), c_orderQueueAddToEnd);
    WaitForCutsceneToEnd(CutsceneLastCreated());
    FogSetEnabled(true);
    GameSetLighting("AiurTempleJungle", 0.0);
    SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:19321

    else {
        GameSetLighting("AiurTempleJungle", 0.0);
        FogSetEnabled(true);
        UnitRemove(gv_protossWarpPrism);
        UnitGroupLoopBegin(gv_protossStartingStalkers);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:19433

    gv_cinematicCompleted4 = false;
    CinematicFade(true, 0.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
    FogSetEnabled(false);
    CutsceneCreateNoPosition("Cutscenes\\Cutscene_TutorialProtossOutro.SC2Cutscene", PlayerGroupAll(), true);
    WaitForCutsceneToEnd(CutsceneLastCreated());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:958

    CutsceneRemoveGlobalFilter("Capsule");
    CutsceneRemoveGlobalFilter("CapsuleOff");
    FogSetEnabled(false);
    libVCST_gf_ShowHideStoryUnits(true);
    libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("Preserver"), UnitGetAttachmentPoint(gv_uNITBridgeSet00, "Pos_Adjutant"));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:8442

    CinematicFade(false, 0.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
    libVCMI_gf_CinematicModeCampaign(true, c_transitionDurationImmediate, true);
    FogSetEnabled(false);
    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, false);
    GameTimeOfDayPause(true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:9566

    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    gv_cinematicCompleted2 = false;
    FogSetEnabled(false);
    CinematicFade(true, 0.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
    CutsceneCreateNoPosition("Cutscenes\\Cutscene_TutorialTerranIntro.SC2Cutscene", PlayerGroupAll(), true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:9653

    }
    else {
        FogSetEnabled(true);
        GameSetLighting("AiurTempleJungle", 0.0);
        SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:9687


    GameSetLighting("AiurTempleJungle", 0.0);
    FogSetEnabled(true);
    SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);
    return true;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:15347

    CameraPan(gv_p01_USER, PointFromId(19), 0.0, -1, 10.0, false);
    GameSetLighting("AiurTempleJungle", 0.0);
    FogSetEnabled(false);
    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    gv_cinematicCompleted3 = false;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:15456

    else {
        GameSetLighting("AiurTempleJungle", 0.0);
        FogSetEnabled(true);
        SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);
        UnitGroupLoopBegin(gv_zergStartingDrones);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:15521


    GameSetLighting("AiurTempleJungle", 0.0);
    FogSetEnabled(true);
    SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);
    return true;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:19209

    CameraPan(gv_p01_USER, PointWithOffset(PointFromId(67), 0.0, -1.0), 0.0, -1, 10.0, false);
    GameSetLighting("AiurTempleJungle", 0.0);
    FogSetEnabled(false);
    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    gv_cinematicCompleted4 = false;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:19224

    UnitIssueOrder(gv_protossWarpPrism, Order(AbilityCommand("PhasingMode", 0)), c_orderQueueAddToEnd);
    WaitForCutsceneToEnd(CutsceneLastCreated());
    FogSetEnabled(true);
    GameSetLighting("AiurTempleJungle", 0.0);
    SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:19321

    else {
        GameSetLighting("AiurTempleJungle", 0.0);
        FogSetEnabled(true);
        UnitRemove(gv_protossWarpPrism);
        UnitGroupLoopBegin(gv_protossStartingStalkers);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:19433

    gv_cinematicCompleted4 = false;
    CinematicFade(true, 0.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
    FogSetEnabled(false);
    CutsceneCreateNoPosition("Cutscenes\\Cutscene_TutorialProtossOutro.SC2Cutscene", PlayerGroupAll(), true);
    WaitForCutsceneToEnd(CutsceneLastCreated());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:958

    CutsceneRemoveGlobalFilter("Capsule");
    CutsceneRemoveGlobalFilter("CapsuleOff");
    FogSetEnabled(false);
    libVCST_gf_ShowHideStoryUnits(true);
    libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("Preserver"), UnitGetAttachmentPoint(gv_uNITBridgeSet00, "Pos_Adjutant"));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:8442

    CinematicFade(false, 0.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
    libVCMI_gf_CinematicModeCampaign(true, c_transitionDurationImmediate, true);
    FogSetEnabled(false);
    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, false);
    GameTimeOfDayPause(true);

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:1886

    UnitGroupLoopEnd();
    EnvironmentShow(c_environmentAll, false);
    FogSetEnabled(false);
    GameSetLighting("NoLight", 0.0);
    libNtve_gf_StoryMode(PlayerGroupAll(), true);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova06.sc2map/MapScript.galaxy:8730

    }
    EnvironmentShow(c_environmentAll, false);
    FogSetEnabled(false);
    GameSetLighting("NoLight", 0.0);
    libNtve_gf_StoryMode(PlayerGroupAll(), true);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova06.sc2mapMapScript.galaxy:8730

    }
    EnvironmentShow(c_environmentAll, false);
    FogSetEnabled(false);
    GameSetLighting("NoLight", 0.0);
    libNtve_gf_StoryMode(PlayerGroupAll(), true);