# Show/Hide Text Tag

Grammarshow|Show/Hide tag|Text Tag for players
FlagsNative | Action

Shows or hides the specified text tag.

# Arguments

Returns — void

native void TextTagShow(
	int inTag,
	playergroup inPlayers,
	bool inShow,
);

Category: Text Tag / Basic

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L1106
TextTagShow(gv_supplyHelperTXT, PlayerGroupAll(), true)
// L1563
TextTagShow(gv_bunkerBridgeEastTextTag, PlayerGroupAll(), true)
// L1570
TextTagShow(gv_bunkerBridgeWestTextTag, PlayerGroupAll(), true)
// L1577
TextTagShow(gv_bunkerBaseEastTextTag, PlayerGroupAll(), true)
// L1584
TextTagShow(gv_bunkerBaseWestTextTag, PlayerGroupAll(), true)
// L1621
TextTagShow(gv_bunkerBridgeEastTextTag, PlayerGroupAll(), true)
// L1628
TextTagShow(gv_bunkerBridgeWestTextTag, PlayerGroupAll(), true)
// L1635
TextTagShow(gv_bunkerBaseEastTextTag, PlayerGroupAll(), true)
// L1642
TextTagShow(gv_bunkerBaseWestTextTag, PlayerGroupAll(), true)
// L1684
TextTagShow(gv_bunkerBridgeEastTextTag, PlayerGroupAll(), false)
// L1690
TextTagShow(gv_bunkerBridgeWestTextTag, PlayerGroupAll(), false)
// L2912
TextTagShow(gv_jukeboxTrackTitle, PlayerGroupAll(), lp_showHide)
// L9873
TextTagShow(lv_tag, PlayerGroupAll(), lp_showHide)
// L1106
TextTagShow(gv_supplyHelperTXT, PlayerGroupAll(), true)
// L1563
TextTagShow(gv_bunkerBridgeEastTextTag, PlayerGroupAll(), true)
// L1570
TextTagShow(gv_bunkerBridgeWestTextTag, PlayerGroupAll(), true)
// L1577
TextTagShow(gv_bunkerBaseEastTextTag, PlayerGroupAll(), true)
// L1584
TextTagShow(gv_bunkerBaseWestTextTag, PlayerGroupAll(), true)
// L1621
TextTagShow(gv_bunkerBridgeEastTextTag, PlayerGroupAll(), true)
// L1628
TextTagShow(gv_bunkerBridgeWestTextTag, PlayerGroupAll(), true)
// L1635
TextTagShow(gv_bunkerBaseEastTextTag, PlayerGroupAll(), true)
// L1642
TextTagShow(gv_bunkerBaseWestTextTag, PlayerGroupAll(), true)
// L1684
TextTagShow(gv_bunkerBridgeEastTextTag, PlayerGroupAll(), false)
// L1690
TextTagShow(gv_bunkerBridgeWestTextTag, PlayerGroupAll(), false)
// L2912
TextTagShow(gv_jukeboxTrackTitle, PlayerGroupAll(), lp_showHide)
// L9873
TextTagShow(lv_tag, PlayerGroupAll(), lp_showHide)

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1149
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L1554
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L1580
TextTagShow(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], PlayerGroupSingle(lp_playerIndex), true)
// L11903
TextTagShow(lv_p_TextTag, PlayerGroupSingle(lv_p_Player), true)

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L1868
TextTagShow(gv_screenMouseClickTextTag, PlayerGroupAll(), true)
// L1870
TextTagShow(gv_screenMouseClickTextTag, PlayerGroupAll(), false)
// L1868
TextTagShow(gv_screenMouseClickTextTag, PlayerGroupAll(), true)
// L1870
TextTagShow(gv_screenMouseClickTextTag, PlayerGroupAll(), false)

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L3512
TextTagShow(libVCMI_gv_pM_UpgradeTextTag, PlayerGroupAll(), true)
// L3516
TextTagShow(libVCMI_gv_pM_UpgradeTextTag, PlayerGroupAll(), false)

# mods/frontiers.sc2mod

Lib6CB3363F.galaxy

// L1446
TextTagShow(TextTagLastCreated(), PlayerGroupSingle(UnitGetOwner(EventUnit())), true)

# mods/heroes.stormmod

MapScript.galaxy

// L5936
TextTagShow(gv__1E_FountainText[lv_index], PlayerGroupAll(), false)
// L5976
TextTagShow(gv__1E_FountainText[lv_index], PlayerGroupAll(), false)
// L5979
TextTagShow(gv__1E_FountainText[lv_index], PlayerGroupAll(), true)
// L5936
TextTagShow(gv__1E_FountainText[lv_index], PlayerGroupAll(), false)
// L5976
TextTagShow(gv__1E_FountainText[lv_index], PlayerGroupAll(), false)
// L5979
TextTagShow(gv__1E_FountainText[lv_index], PlayerGroupAll(), true)

# mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod

LibMDoE.galaxy

// L566
TextTagShow(libCore_gf_TextTagStoredForUnit(lp_unit, libGame_gv_teamOrderIndex_C), PlayerGroupAll(), false)
// L567
TextTagShow(libCore_gf_TextTagStoredForUnit(lp_unit, libGame_gv_teamChaosIndex_C), PlayerGroupAll(), false)
// L805
TextTagShow(TextTagLastCreated(), GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C), true)
// L806
TextTagShow(TextTagLastCreated(), GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C), false)
// L809
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L852
TextTagShow(lv_orderTextTag, PlayerGroupAll(), true)
// L853
TextTagShow(lv_chaosTextTag, PlayerGroupAll(), true)
// L864
TextTagShow(lv_orderTextTag, PlayerGroupAll(), false)
// L865
TextTagShow(lv_chaosTextTag, PlayerGroupAll(), false)
// L883
TextTagShow(libCore_gf_TextTagStoredForUnit(auto4D98250A_var, libGame_gv_teamChaosIndex_C), PlayerGroupSingle(lp_player), false)

# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod

LibPEB1.galaxy

// L10151
TextTagShow(libPEB1_gv_creepCamps[lv_campIndex].lv_helperTextTag, PlayerGroupAll(), true)

# mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod

LibPVEB.galaxy

// L2231
TextTagShow(TextTagLastCreated(), PlayerGroupSingle(lv_deadPlayer), false)

# mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod

LibPVEM.galaxy

// L1829
TextTagShow(TextTagLastCreated(), PlayerGroupSingle(lv_deadPlayer), false)

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L14377
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), true)

# mods/heroesdata.stormmod

GameLib.galaxy

// L18492
TextTagShow(lv_textTag, PlayerGroupSingle(lv_itPlayer), true)

# mods/heroesdata.stormmod

MapMechanicsLib.galaxy

// L3722
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTag, PlayerGroupAll(), true)
// L3729
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTag, libCore_gv_playerGroupFromPlayer[lv_player], false)
// L3733
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagAllyOwned, PlayerGroupAll(), false)
// L3734
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagEnemyOwned, PlayerGroupAll(), false)
// L3735
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTag, libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer], false)
// L3808
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTag, PlayerGroupAll(), false)
// L3809
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagAllyOwned, PlayerGroupAlliance(c_playerGroupAlly, lp_computerPlayer), true)
// L3817
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagAllyOwned, libCore_gv_playerGroupFromPlayer[lv_p], false)
// L3823
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagEnemyOwned, PlayerGroupAlliance(c_playerGroupEnemy, lp_computerPlayer), true)
// L3831
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagEnemyOwned, libCore_gv_playerGroupFromPlayer[lv_p], false)

# mods/heroesdata.stormmod

UILib.galaxy

// L3906
TextTagShow(libUIUI_gv_uIHealingFountainsHelpText[lv_arrayToUse][lv_itTextTag].lv_textTag, libCore_gv_playerGroupFromPlayer[lp_player], lp_showHide)
// L12536
TextTagShow(libUIUI_gv_uIHealingFountainsHelpText[lv_arrayToUse][lv_iter].lv_textTag, PlayerGroupAll(), false)

# mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmod

LibBBAY.galaxy

// L1881
TextTagShow(libCore_gf_TextTagStoredForUnit(libBBAY_gv_mMBBCannonballsTreasureChestChests[lv_iter], 1), PlayerGroupAll(), true)
// L1888
TextTagShow(libCore_gf_TextTagStoredForUnit(libBBAY_gv_mMBBCannonballsTreasureChestChests[lv_iter], 2), PlayerGroupAll(), true)
// L2071
TextTagShow(libCore_gf_TextTagStoredForUnit(libBBAY_gv_mMBBCannonballsTreasureChestChests[1], 1), libCore_gv_playerGroupFromPlayer[lv_attackingPlayer], false)
// L2072
TextTagShow(libCore_gf_TextTagStoredForUnit(libBBAY_gv_mMBBCannonballsTreasureChestChests[2], 1), libCore_gv_playerGroupFromPlayer[lv_attackingPlayer], false)

# mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod

LibMHtM.galaxy

// L119
TextTagShow(TextTagLastCreated(), libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer], false)
// L1713
TextTagShow(libCore_gf_TextTagStoredForUnit(lv_gate, 1), libCore_gv_playerGroupFromPlayer[lv_owningPlayer], false)

# mods/heroesmapmods/battlegroundmapmods/overwatchdata.stormmod

LibOVER.galaxy

// L146
TextTagShow(libCore_gf_TextTagStoredForUnit(lp_pickupUnit, 1), libGame_gf_PlayersOnTeamHeroes(lv_team, false), true)
// L160
TextTagShow(libCore_gf_TextTagStoredForUnit(lp_pickupUnit, 1), libGame_gf_PlayersOnTeamHeroes(libGame_gf_TeamNumberOfPlayer(lv_team), false), true)

# mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod

LibMSOC.galaxy

// L169
TextTagShow(libMSOC_gv_mMTombSpiderQueen[lv_itSoulCage].lv_countTextTagAlly[lp_team], lv_playersAlly, true)
// L179
TextTagShow(libMSOC_gv_mMTombSpiderQueen[lv_itSoulCage].lv_countTextTagAlly[lp_team], lv_playersAlly, false)

# mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod

LibMTOD.galaxy

// L1028
TextTagShow(TextTagLastCreated(), libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer], false)

# mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod

LibMSC2.galaxy

// L547
TextTagShow(libCore_gf_TextTagStoredForUnit(lv_itUnit, 1), PlayerGroupSingle(lp_player), lp_showHide)

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L3662
TextTagShow(libNCMI_gv_nM_UpgradeTextTag, PlayerGroupAll(), true)
// L3666
TextTagShow(libNCMI_gv_nM_UpgradeTextTag, PlayerGroupAll(), false)

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L2577
TextTagShow(libHots_gf_TextTagForUnit(gv_s1_GarrisonSpots[lv_iter].lv_beaconUnit, 1), PlayerGroupAll(), true)
// L2863
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L2883
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L2903
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L2923
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L2943
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L3023
TextTagShow(libHots_gf_TextTagForUnit(gv_s1_GarrisonSpots[lv_garrisonIter].lv_beaconUnit, 1), PlayerGroupAll(), true)
// L5272
TextTagShow(libHots_gf_TextTagForUnit(UnitFromId(2010177382), 1), PlayerGroupAll(), true)
// L2577
TextTagShow(libHots_gf_TextTagForUnit(gv_s1_GarrisonSpots[lv_iter].lv_beaconUnit, 1), PlayerGroupAll(), true)
// L2863
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L2883
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L2903
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L2923
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L2943
TextTagShow(TextTagLastCreated(), PlayerGroupAll(), false)
// L3023
TextTagShow(libHots_gf_TextTagForUnit(gv_s1_GarrisonSpots[lv_garrisonIter].lv_beaconUnit, 1), PlayerGroupAll(), true)
// L5272
TextTagShow(libHots_gf_TextTagForUnit(UnitFromId(2010177382), 1), PlayerGroupAll(), true)