# Set Enforce Fog Of War Of Text Tag

Grammar — Set fog of war enforcement to useFogOfWar for tag|Text Tag
FlagsNative | Action

Enables or disables fog of war enforcement for the specified text tag.

# Arguments

  • int<preset::TextTag> — Tag
  • bool — Use Fog Of War

Returns — void

native void TextTagFogofWar(int inTag, bool inFog);

Category: Text Tag / Formatting

# Examples

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:3431

            gv_goToWatchtowerReticle = libNtve_gf_ActorLastCreated();
            gv_goToWatchtowerTextTag = TextTagLastCreated();
            TextTagFogofWar(TextTagLastCreated(), false);
            TextTagSetFogVisibility(TextTagLastCreated(), c_visTypeMask);
            break;

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:3431

            gv_goToWatchtowerReticle = libNtve_gf_ActorLastCreated();
            gv_goToWatchtowerTextTag = TextTagLastCreated();
            TextTagFogofWar(TextTagLastCreated(), false);
            TextTagSetFogVisibility(TextTagLastCreated(), c_visTypeMask);
            break;