# Show/Hide Background For Text Tag
Grammar — show|Show/Hide background for tag|Text Tag
Flags —Native
|Action
Shows or hides the background for a particular text tag.
# Arguments
int
<preset::TextTag> — Tagbool
<preset::ShowHideOption> — Show
Returns — void
native void TextTagShowBackground(int inTag, bool inShow);
# 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/traynor02.sc2map/MapScript.galaxy:1103
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
TextTagAttachToUnit(gv_supplyHelperTXT, gv_supplySCV, 1.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1294
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_sCVHelperTXT = TextTagLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:670
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_bunkerBridgeEastTextTag = TextTagLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:676
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_bunkerBridgeWestTextTag = TextTagLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:682
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_bunkerBaseEastTextTag = TextTagLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:688
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_bunkerBaseWestTextTag = TextTagLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2894
TextTagSetTextShadow(TextTagLastCreated(), true);
TextTagSetColor(TextTagLastCreated(), c_textTagColorBackground, ColorWithAlpha(6.27, 14.51, 19.61, 80.00));
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 5.0);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 4.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:9561
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0);
TextTagAttachToUnitPoint(TextTagLastCreated(), lp_unit, lp_attachmentPoint, lp_offsetX, lp_offsetY);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetEdgeImage(TextTagLastCreated(), lp_edge, lp_edgeImage, lp_edgeOffsetX, lp_edgeOffsetY);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:30083
TextTagSetAlignment(TextTagLastCreated(), c_alignLeft, c_alignBottom);
TextTagAttachToUnitPoint(TextTagLastCreated(), gf_BriefingScreen(ge_RoomID_RoomBridge, ge_BriefingScreen_Center), "Ref_StatusBar", 0, -60);
TextTagShowBackground(TextTagLastCreated(), false);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 10.0);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 9.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1103
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
TextTagAttachToUnit(gv_supplyHelperTXT, gv_supplySCV, 1.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:1294
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_sCVHelperTXT = TextTagLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:670
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_bunkerBridgeEastTextTag = TextTagLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:676
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_bunkerBridgeWestTextTag = TextTagLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:682
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_bunkerBaseEastTextTag = TextTagLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:688
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
gv_bunkerBaseWestTextTag = TextTagLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2894
TextTagSetTextShadow(TextTagLastCreated(), true);
TextTagSetColor(TextTagLastCreated(), c_textTagColorBackground, ColorWithAlpha(6.27, 14.51, 19.61, 80.00));
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 5.0);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 4.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:9561
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0);
TextTagAttachToUnitPoint(TextTagLastCreated(), lp_unit, lp_attachmentPoint, lp_offsetX, lp_offsetY);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetEdgeImage(TextTagLastCreated(), lp_edge, lp_edgeImage, lp_edgeOffsetX, lp_edgeOffsetY);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, c_textTagTimePermanent);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:30083
TextTagSetAlignment(TextTagLastCreated(), c_alignLeft, c_alignBottom);
TextTagAttachToUnitPoint(TextTagLastCreated(), gf_BriefingScreen(ge_RoomID_RoomBridge, ge_BriefingScreen_Center), "Ref_StatusBar", 0, -60);
TextTagShowBackground(TextTagLastCreated(), false);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 10.0);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 9.0);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:1562
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);
TextTagSetBackgroundBorderSize(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], 1.0, 1.0);
TextTagSetColor(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_textTagColorBackground, libCamp_gv__CB_Line_BGColor[lv_lineIndex]);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:11899
TextTagSetTextShadow(lv_p_TextTag, false);
TextTagSetTime(lv_p_TextTag, c_textTagTimeDuration, 360000.0);
TextTagShowBackground(lv_p_TextTag, true);
TextTagSetBackgroundBorderSize(lv_p_TextTag, 1.0, 1.0);
TextTagSetColor(lv_p_TextTag, c_textTagColorBackground, Color(100,100,100));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:715
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
UnitKill(lp_cHOSEN_ESSENCE);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:661
TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropMinerals, c_playerPropOperAdd, lv_amount);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:760
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00));
TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
TextTagShowBackground(TextTagLastCreated(), false);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropVespene, c_playerPropOperAdd, 3);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:715
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
UnitKill(lp_cHOSEN_ESSENCE);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:661
TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropMinerals, c_playerPropOperAdd, lv_amount);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map — MapScript.galaxy:760
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00));
TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
TextTagShowBackground(TextTagLastCreated(), false);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropVespene, c_playerPropOperAdd, 3);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4021
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_reg.dds", 0, -15);
}
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3782
}
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3804
TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlstarcraft.stormmod — base.stormdata/LibPESC.galaxy:126
TextTagCreate(TextExpressionAssemble("Param/Expression/lib_PESC_257315E7"), 32, UnitGetPosition(libPESC_gv_hMCLCaptureSlab), 7.0, true, false, PlayerGroupAll());
libPESC_gv_hMCLTextTag = TextTagLastCreated();
TextTagShowBackground(libPESC_gv_hMCLTextTag, true);
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorBackground, ColorWithAlpha(0.00, 25.10, 0.00, 24.71));
TriggerEnable(libPESC_gt_PVEHardModeUpdate, true);
mods/heroesbrawlmods/brawlmapmods/coop/pvestarcraft.stormmod — base.stormdata/LibPESC.galaxy:126
TextTagCreate(TextExpressionAssemble("Param/Expression/lib_PESC_257315E7"), 32, UnitGetPosition(libPESC_gv_hMCLCaptureSlab), 7.0, true, false, PlayerGroupAll());
libPESC_gv_hMCLTextTag = TextTagLastCreated();
TextTagShowBackground(libPESC_gv_hMCLTextTag, true);
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorBackground, ColorWithAlpha(0.00, 25.10, 0.00, 24.71));
TriggerEnable(libPESC_gt_PVEHardModeUpdate, true);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:3916
}
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:11679
TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:2810
TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_reg.dds", 0, -15);
}
TextTagShowBackground(TextTagLastCreated(), true);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);
}