# Show/Hide Text Shadow For Text Tag
Grammar — show|Show/Hide text shadows for tag|Text Tag
Flags —Native
|Action
Shows or hides the text shadows for a particular text tag.
# Arguments
int
<preset::TextTag> — Tagbool
<preset::ShowHideOption> — Show
Returns — void
native void TextTagSetTextShadow(int inTag, bool inVal);
# 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
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2892
else {
}
TextTagSetTextShadow(TextTagLastCreated(), true);
TextTagSetColor(TextTagLastCreated(), c_textTagColorBackground, ColorWithAlpha(6.27, 14.51, 19.61, 80.00));
TextTagShowBackground(TextTagLastCreated(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2892
else {
}
TextTagSetTextShadow(TextTagLastCreated(), true);
TextTagSetColor(TextTagLastCreated(), c_textTagColorBackground, ColorWithAlpha(6.27, 14.51, 19.61, 80.00));
TextTagShowBackground(TextTagLastCreated(), true);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:1560
TextTagSetMaxSize(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], 25.0, 40.0);
TextTagSetColor(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_textTagColorText, libCamp_gv__CB_Line_TextColor[lv_lineIndex]);
TextTagSetTextShadow(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], false);
TextTagSetTime(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_textTagTimeDuration, 360000.0);
TextTagShowBackground(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], true);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:11897
TextTagSetMaxSize(lv_p_TextTag, 25.0, 40.0);
TextTagSetColor(lv_p_TextTag, c_textTagColorText, Color(0,0,0));
TextTagSetTextShadow(lv_p_TextTag, false);
TextTagSetTime(lv_p_TextTag, c_textTagTimeDuration, 360000.0);
TextTagShowBackground(lv_p_TextTag, true);