# Set Background Image Of Text Tag

Grammar — Set the background image of textTag to path|Image Path as a type image
FlagsNative | Action

Sets the image used as the background for the text tag.

# Arguments

Returns — void

native void TextTagSetBackgroundImage(
	int inTag,
	string inPath,
	bool inTiled,
);

Category: Text Tag / Formatting

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1101

    TextTagCreate(StringExternal("Param/Value/4E851134"), 18, PointFromId(32), 1.0, false, false, PlayerGroupAll());
    gv_supplyHelperTXT = TextTagLastCreated();
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1292

    TriggerEnable(TriggerGetCurrent(), false);
    TextTagCreate(StringExternal("Param/Value/A0322401"), 18, PointFromId(688), 1.0, true, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:668

    UnitSetInfoText(gv_rebelMarinesBeacon03, StringExternal("Param/Value/C5438079"), StringToText(""), StringToText(""));
    TextTagCreate(StringExternal("Param/Value/DC706388"), 18, UnitGetPosition(gv_bunkerBridgeEast), 2.5, false, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:674

    gv_bunkerBridgeEastTextTag = TextTagLastCreated();
    TextTagCreate(StringExternal("Param/Value/DD630F5C"), 18, UnitGetPosition(gv_bunkerBridgeWest), 2.5, false, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:680

    gv_bunkerBridgeWestTextTag = TextTagLastCreated();
    TextTagCreate(StringExternal("Param/Value/24851E7E"), 18, UnitGetPosition(gv_bunkerBaseEast), 2.5, false, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:686

    gv_bunkerBaseEastTextTag = TextTagLastCreated();
    TextTagCreate(StringExternal("Param/Value/43FACC21"), 18, UnitGetPosition(gv_bunkerBaseWest), 2.5, false, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2875

    gv_jukeboxTrackTitle = TextTagLastCreated();
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.8, 0.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\white.dds", false);
    TextTagSetBackgroundOffset(TextTagLastCreated(), 0.0, 0.25);
    auto2FB17D52_val = lp_jukeboxID;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:9558


    TextTagCreate(lp_text, 18, UnitGetPosition(lp_unit), 0.0, true, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0);
    TextTagAttachToUnitPoint(TextTagLastCreated(), lp_unit, lp_attachmentPoint, lp_offsetX, lp_offsetY);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1101

    TextTagCreate(StringExternal("Param/Value/4E851134"), 18, PointFromId(32), 1.0, false, false, PlayerGroupAll());
    gv_supplyHelperTXT = TextTagLastCreated();
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1292

    TriggerEnable(TriggerGetCurrent(), false);
    TextTagCreate(StringExternal("Param/Value/A0322401"), 18, PointFromId(688), 1.0, true, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:668

    UnitSetInfoText(gv_rebelMarinesBeacon03, StringExternal("Param/Value/C5438079"), StringToText(""), StringToText(""));
    TextTagCreate(StringExternal("Param/Value/DC706388"), 18, UnitGetPosition(gv_bunkerBridgeEast), 2.5, false, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:674

    gv_bunkerBridgeEastTextTag = TextTagLastCreated();
    TextTagCreate(StringExternal("Param/Value/DD630F5C"), 18, UnitGetPosition(gv_bunkerBridgeWest), 2.5, false, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:680

    gv_bunkerBridgeWestTextTag = TextTagLastCreated();
    TextTagCreate(StringExternal("Param/Value/24851E7E"), 18, UnitGetPosition(gv_bunkerBaseEast), 2.5, false, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:686

    gv_bunkerBaseEastTextTag = TextTagLastCreated();
    TextTagCreate(StringExternal("Param/Value/43FACC21"), 18, UnitGetPosition(gv_bunkerBaseWest), 2.5, false, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\ui_mission_frame_massege.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0);
    TextTagShowBackground(TextTagLastCreated(), true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:2875

    gv_jukeboxTrackTitle = TextTagLastCreated();
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.8, 0.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\white.dds", false);
    TextTagSetBackgroundOffset(TextTagLastCreated(), 0.0, 0.25);
    auto2FB17D52_val = lp_jukeboxID;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:9558


    TextTagCreate(lp_text, 18, UnitGetPosition(lp_unit), 0.0, true, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0);
    TextTagAttachToUnitPoint(TextTagLastCreated(), lp_unit, lp_attachmentPoint, lp_offsetX, lp_offsetY);

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:1565

    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]);
    TextTagSetBackgroundImage(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], "Assets/Textures/border-tooltip-game.dds", true);
    if ((libCamp_gv__CB_Line_FaceLocation[lv_lineIndex] == null)) {
        if (((libCamp_gv__CB_Line_FaceOption[lv_lineIndex] == true) && (libCamp_gv__CB_Current_ChatBubbleTarget[lp_playerIndex] != null))) {

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:11902

    TextTagSetBackgroundBorderSize(lv_p_TextTag, 1.0, 1.0);
    TextTagSetColor(lv_p_TextTag, c_textTagColorBackground, Color(100,100,100));
    TextTagSetBackgroundImage(lv_p_TextTag, "Assets/Textures/border-tooltip-game.dds", true);
    TextTagShow(lv_p_TextTag, PlayerGroupSingle(lv_p_Player), true);
    if ((lv_p_SoundLink != null)) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:713

        TextTagCreate(TextExpressionAssemble("Param/Expression/0894A15A"), 24, UnitGetPosition(lp_cHOSEN_ESSENCE), 2.0, true, false, PlayerGroupAll());
        TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
        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);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:660

    TextTagCreate(lv_label, 24, UnitGetPosition(lp_unitKilled), 2.0, true, false, PlayerGroupAll());
    TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    TextTagShowBackground(TextTagLastCreated(), true);
    TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2mapMapScript.galaxy:713

        TextTagCreate(TextExpressionAssemble("Param/Expression/0894A15A"), 24, UnitGetPosition(lp_cHOSEN_ESSENCE), 2.0, true, false, PlayerGroupAll());
        TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
        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);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2mapMapScript.galaxy:660

    TextTagCreate(lv_label, 24, UnitGetPosition(lp_unitKilled), 2.0, true, false, PlayerGroupAll());
    TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    TextTagShowBackground(TextTagLastCreated(), true);
    TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4014

    TextTagCreate(lv_text, 24, lp_location, 2.0, true, false, PlayerGroupAll());
    TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    if ((lp_resourceType == libSwaC_ge_CacheResourceType_CustomResource)) {
        TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3778

    TextTagCreate(lv_text, 24, lp_location, 2.0, true, false, PlayerGroupAll());
    TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    if ((lp_resourceType == libVCMI_ge_CacheResourceType_CustomResource)) {
    }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3803

    TextTagCreate(lv_floatingText, 24, lp_location, (PointGetHeight(lp_location)+2.0), true, false, PlayerGroupAll());
    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/pvebrawlmod.stormmodbase.stormdata/LibPVEB.galaxy:2230

    libPVEB_gf_PvEResurrectAddRemoveDeadHeroArrow(true, lv_deadPlayer);
    TextTagCreate(StringExternal("Param/Value/lib_PVEB_C7976D22"), 22, UnitGetPosition(libPVEB_gv_pvEResurrectSpirit[lv_deadPlayer]), 3.2, true, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\storm_ui_ingame_bossbar_border.dds", true);
    TextTagShow(TextTagLastCreated(), PlayerGroupSingle(lv_deadPlayer), false);
    libPVEB_gv_pvEResurrectSpiritTextTag[lv_deadPlayer] = TextTagLastCreated();

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmodbase.stormdata/LibPVEB.galaxy:2234

    libPVEB_gv_pvEResurrectSpiritTextTag[lv_deadPlayer] = TextTagLastCreated();
    TextTagCreate(StringExternal("Param/Value/lib_PVEB_9CD9FA69"), 22, UnitGetPosition(libPVEB_gv_pvEResurrectSpirit[lv_deadPlayer]), 3.2, true, false, PlayerGroupSingle(lv_deadPlayer));
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\storm_ui_ingame_bossbar_border.dds", true);
    libPVEB_gv_pvEResurrectSpiritTextTagSelf[lv_deadPlayer] = TextTagLastCreated();
    libPVEB_gf_PvEResurrectCheckActiveSpirits(true);

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:1828

    libPVEM_gf_PvEResurrectAddRemoveDeadHeroArrow(true, lv_deadPlayer);
    TextTagCreate(StringExternal("Param/Value/lib_PVEM_C7976D22"), 22, UnitGetPosition(libPVEM_gv_pvEResurrectSpirit[lv_deadPlayer]), 3.2, true, false, PlayerGroupAll());
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\storm_ui_ingame_bossbar_border.dds", true);
    TextTagShow(TextTagLastCreated(), PlayerGroupSingle(lv_deadPlayer), false);
    libPVEM_gv_pvEResurrectSpiritTextTag[lv_deadPlayer] = TextTagLastCreated();

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:1832

    libPVEM_gv_pvEResurrectSpiritTextTag[lv_deadPlayer] = TextTagLastCreated();
    TextTagCreate(StringExternal("Param/Value/lib_PVEM_9CD9FA69"), 22, UnitGetPosition(libPVEM_gv_pvEResurrectSpirit[lv_deadPlayer]), 3.2, true, false, PlayerGroupSingle(lv_deadPlayer));
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\storm_ui_ingame_bossbar_border.dds", true);
    libPVEM_gv_pvEResurrectSpiritTextTagSelf[lv_deadPlayer] = TextTagLastCreated();
    libPVEM_gf_PvEResurrectCheckActiveSpirits(true);

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:3912

    TextTagCreate(lv_text, 24, lp_location, 2.0, true, false, PlayerGroupAll());
    TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    if ((lp_resourceType == libNCMI_ge_CacheResourceType_CustomResource)) {
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:11678

    TextTagCreate(lv_text, 24, lp_location, 2.0, true, false, PlayerGroupSingle(lp_player));
    TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    TextTagShowBackground(TextTagLastCreated(), true);
    TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 3.0);

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:2803

    TextTagCreate(lv_text, 24, lp_location, 2.0, true, false, PlayerGroupAll());
    TextTagSetVelocity(TextTagLastCreated(), 0.7, 90.0);
    TextTagSetBackgroundImage(TextTagLastCreated(), "Assets\\Textures\\blank.dds", true);
    if ((lp_resourceType == libA3DDD02B_ge_CacheResourceType_CustomResource)) {
        TextTagSetEdgeImage(TextTagLastCreated(), c_textTagEdgeBottom, "Assets\\Textures\\ui_hots_frame_objectives_bonus_popup_short.dds", 0, -15);