# Set Color Of Text Tag
Grammar — Set type|Color Type color(s) for tag|Text Tag to color
Flags —Native
|Action
Sets the color of different parts of the text tag.
# Arguments
int
[ preset::TextTag ] — Tagint
[ preset::TextTagColor ] — Typecolor
— Color
Returns — void
native void TextTagSetColor(
int inTag,
int inType,
color inColor,
);
# Related
Category: Text Tag / Formatting
- [F] —
void
— Set Alignment Of Text Tag — ( TextTagSetAlignment ) - [F] —
void
— Set Text Alignment Of Text Tag — ( TextTagSetTextAlignment ) - [F] —
void
— Set Background Border Size Of Text Tag — ( TextTagSetBackgroundBorderSize ) - [F] —
void
— Set Background Image Of Text Tag — ( TextTagSetBackgroundImage ) - [F] —
void
— Set Background Offset Of Text Tag — ( TextTagSetBackgroundOffset ) - [F] —
void
— Set Edge Image Of Text Tag — ( TextTagSetEdgeImage ) - [F] —
void
— Set Color Of Text Tag — ( TextTagSetColor ) - [F] —
void
— Set Enforce Fog Of War Of Text Tag — ( TextTagFogofWar ) - [F] —
void
— Set Visibility Type Of Text Tag — ( TextTagSetFogVisibility ) - [F] —
void
— Set Faded Transparency Of Text Tag — ( TextTagSetFadedTransparency ) - [F] —
void
— Set Font Size Of Text Tag — ( TextTagSetFontSize ) - [F] —
void
— Set Maximum Size Of Text Tag — ( TextTagSetMaxSize ) - [F] —
void
— Show/Hide Background For Text Tag — ( TextTagShowBackground ) - [F] —
void
— Show/Hide Text Shadow For Text Tag — ( TextTagSetTextShadow )
# Examples
# campaigns/liberty.sc2campaign
// L527
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L537
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L547
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L405
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L600
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L610
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L620
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L369
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L521
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L531
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L541
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L415
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L518
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L528
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L538
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L3041
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, lp_color)
// L1435
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1448
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1511
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1524
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1587
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1600
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1646
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2893
TextTagSetColor(TextTagLastCreated(), c_textTagColorBackground, ColorWithAlpha(6.27, 14.51, 19.61, 80.00))
// L4162
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L3041
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, lp_color)
// L1435
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1448
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1511
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1524
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1587
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1600
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1646
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2893
TextTagSetColor(TextTagLastCreated(), c_textTagColorBackground, ColorWithAlpha(6.27, 14.51, 19.61, 80.00))
// L4162
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L527
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L537
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L547
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L405
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L600
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L610
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L620
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L369
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L521
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L531
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L541
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L415
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L518
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L528
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L538
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
# campaigns/libertystory.sc2campaign
// L918
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 50.20, 100.00))
// L924
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 50.20, 0.00))
// L1559
TextTagSetColor(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_textTagColorText, libCamp_gv__CB_Line_TextColor[lv_lineIndex])
// L1564
TextTagSetColor(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_textTagColorBackground, libCamp_gv__CB_Line_BGColor[lv_lineIndex])
// L11896
TextTagSetColor(lv_p_TextTag, c_textTagColorText, Color(0,0,0))
// L11901
TextTagSetColor(lv_p_TextTag, c_textTagColorBackground, Color(100,100,100))
# campaigns/swarm.sc2campaign
// L758
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2396
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2441
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2396
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2441
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L758
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
# mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlstarcraft.stormmod
// L127
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorBackground, ColorWithAlpha(0.00, 25.10, 0.00, 24.71))
// L263
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorText, Color(0.00, 100.00, 0.00))
// L127
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorBackground, ColorWithAlpha(0.00, 25.10, 0.00, 24.71))
// L263
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorText, Color(0.00, 100.00, 0.00))
# mods/heroesdata.stormmod
// L3232
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 100.00, 0.00))
// L3238
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 100.00, 0.00))
// L3250
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 50.20, 25.10))
// L3256
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 50.20, 25.10))
// L3268
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L3274
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
# mods/novastoryassets.sc2mod
// L2669
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2714
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2669
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2714
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
# mods/starcoop/starcoop.sc2mod
// L4512
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 100.00, 100.00))
// L25136
TextTagSetColor(lv_crittexttag, c_textTagColorText, Color(100.00, 0.00, 0.00))