# Enable/Disable Fog At Ultra

Grammar — Set fog’s disabled state at ultra to disable
FlagsNative | Action

When true, fog is not displayed on ultra graphics settings where volume fog is enabled.

# Arguments

  • bool — Disable

Returns — void

native void FogSetDisableAtUltra(bool f);

Category: Environment / Fog And Background

# Examples

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

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

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

    GameSetTransitionMap(("Campaign/Swarm/" + libSwaC_gf_StoryMapFile(lp_map)));
    libNtve_gf_StoryMode(PlayerGroupAll(), true);
    FogSetDisableAtUltra(true);
    GameSetSpeedValue(c_gameSpeedNormal);
    GameSetSpeedLocked(true);