# Set Enforce Fog Of War Of Text Tag
Grammar — Set fog of war enforcement to useFogOfWar for tag|Text Tag
Flags —Native
|Action
Enables or disables fog of war enforcement for the specified text tag.
# Arguments
int
<preset::TextTag> — Tagbool
— Use Fog Of War
Returns — void
native void TextTagFogofWar(int inTag, bool inFog);
# Related
Category: Text Tag / Formatting
- Set Alignment Of Text Tag —
void
— TextTagSetAlignment - Set Text Alignment Of Text Tag —
void
— TextTagSetTextAlignment - Set Background Border Size Of Text Tag —
void
— TextTagSetBackgroundBorderSize - Set Background Image Of Text Tag —
void
— TextTagSetBackgroundImage - Set Background Offset Of Text Tag —
void
— TextTagSetBackgroundOffset - Set Edge Image Of Text Tag —
void
— TextTagSetEdgeImage - Set Color Of Text Tag —
void
— TextTagSetColor - Set Enforce Fog Of War Of Text Tag —
void
— TextTagFogofWar - Set Visibility Type Of Text Tag —
void
— TextTagSetFogVisibility - Set Faded Transparency Of Text Tag —
void
— TextTagSetFadedTransparency - Set Font Size Of Text Tag —
void
— TextTagSetFontSize - Set Maximum Size Of Text Tag —
void
— TextTagSetMaxSize - Show/Hide Background For Text Tag —
void
— TextTagShowBackground - Show/Hide Text Shadow For Text Tag —
void
— TextTagSetTextShadow
# Examples
mods/heroes.stormmod — base.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.stormmap — MapScript.galaxy:3431
gv_goToWatchtowerReticle = libNtve_gf_ActorLastCreated();
gv_goToWatchtowerTextTag = TextTagLastCreated();
TextTagFogofWar(TextTagLastCreated(), false);
TextTagSetFogVisibility(TextTagLastCreated(), c_visTypeMask);
break;