# Name Of Player

Grammar — Name of player p
FlagsNative | Function

Returns the name of the player.

# Arguments

  • int — Player

Returns — text

native text PlayerName(int inPlayer);

Category: Player / Player Settings

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:1230

    gv_swarmlingMassiveWavePing = PingLastCreated();
    PingSetUnit(PingLastCreated(), UnitFromId(12));
    PingSetTooltip(PingLastCreated(), PlayerName(gv_pLAYER_02_DOMINION));
    UnitGroupLoopBegin(gv_swarmlingMassWave);
    while (!UnitGroupLoopDone()) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1128

    UnitSetOwner(UnitFromId(943), gv_pLAYER_09_ZAGARA, true);
    UnitSetState(UnitFromId(512), c_unitStateTargetable, false);
    TextExpressionSetToken("Param/Expression/F00B41D4", "A", PlayerName(gv_pLAYER_09_ZAGARA));
    UnitSetInfoTip(UnitFromId(943), TextExpressionAssemble("Param/Expression/F00B41D4"));
    auto5A5FA167_g = UnitGroup(null, gv_pLAYER_05_WARFIELDCitadel, RegionFromId(22), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2mapMapScript.galaxy:1230

    gv_swarmlingMassiveWavePing = PingLastCreated();
    PingSetUnit(PingLastCreated(), UnitFromId(12));
    PingSetTooltip(PingLastCreated(), PlayerName(gv_pLAYER_02_DOMINION));
    UnitGroupLoopBegin(gv_swarmlingMassWave);
    while (!UnitGroupLoopDone()) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2mapMapScript.galaxy:1128

    UnitSetOwner(UnitFromId(943), gv_pLAYER_09_ZAGARA, true);
    UnitSetState(UnitFromId(512), c_unitStateTargetable, false);
    TextExpressionSetToken("Param/Expression/F00B41D4", "A", PlayerName(gv_pLAYER_09_ZAGARA));
    UnitSetInfoTip(UnitFromId(943), TextExpressionAssemble("Param/Expression/F00B41D4"));
    auto5A5FA167_g = UnitGroup(null, gv_pLAYER_05_WARFIELDCitadel, RegionFromId(22), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmodbase.stormdata/LibAMVS.galaxy:2744

    UnitBehaviorAdd(libAMVS_gv_arti.lv_holder, "HasArtifact", libAMVS_gv_arti.lv_holder, 1);
    DialogControlSetAnimationState(libAMVS_gv_trGr_UI.lv_helpTextLabel, PlayerGroupAll(), "Team", IntToString(libAMVS_gv_arti.lv_team));
    TextExpressionSetToken("Param/Expression/lib_AMVS_C1D8C782", "A", PlayerName(libAMVS_gv_arti.lv_player));
    libNtve_gf_SetDialogItemText(libAMVS_gv_trGr_UI.lv_helpTextLabel, TextExpressionAssemble("Param/Expression/lib_AMVS_C1D8C782"), PlayerGroupAll());
    libNtve_gf_SetDialogItemText(libAMVS_gv_trGr_UI.lv_helpTextLabel, StringExternal("Param/Value/lib_AMVS_941A3936"), PlayerGroupSingle(libAMVS_gv_arti.lv_player));

mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmodbase.stormdata/LibAMVS.galaxy:2799

    AddUnitOfInterest(libAMVS_gv_arti.lv_holder, 500.0, 0.0, "KillHeroCritical", libAIAI_gf_ConvertIntegertoGoalTeam(libGame_gf_EnemyTeam(libAMVS_gv_arti.lv_team)), 0);
    DialogControlSetAnimationState(libAMVS_gv_trGr_UI.lv_helpTextLabel, PlayerGroupAll(), "Team", IntToString(libAMVS_gv_arti.lv_team));
    TextExpressionSetToken("Param/Expression/lib_AMVS_ADCF2D30", "A", PlayerName(libAMVS_gv_arti.lv_player));
    libNtve_gf_SetDialogItemText(libAMVS_gv_trGr_UI.lv_helpTextLabel, TextExpressionAssemble("Param/Expression/lib_AMVS_ADCF2D30"), PlayerGroupAll());
    libNtve_gf_SetDialogItemText(libAMVS_gv_trGr_UI.lv_helpTextLabel, StringExternal("Param/Value/lib_AMVS_C8958FE8"), PlayerGroupSingle(libAMVS_gv_arti.lv_player));

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:4669

    libGame_gv_players[lp_player].lv_rosterSlot = lv_slot;
    libGame_gv_players[lp_player].lv_teamPlayerSlot = lv_numberOfPlayersOnTeam;
    libGame_gv_players[lp_player].lv_name = PlayerName(lp_player);
    PlayerSetState(lp_player, c_playerStateDisplayGameResult, false);
}

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:5835

    }
    else {
        TextExpressionSetToken("Param/Expression/lib_PEB1_0E6D5415", "A", PlayerName(libNtve_gf_KillingPlayer()));
        lv_killingPlayerName = TextExpressionAssemble("Param/Expression/lib_PEB1_0E6D5415");
        TextExpressionSetToken("Param/Expression/lib_PEB1_6F44EC17", "A", UnitGetName(libGame_gv_players[libNtve_gf_KillingPlayer()].lv_heroUnit));

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:6633

    }
    else {
        TextExpressionSetToken("Param/Expression/lib_PEB1_A2837647", "A", PlayerName(libGame_gf_HeroKilledKillingPlayer()));
        lv_killingPlayerName = TextExpressionAssemble("Param/Expression/lib_PEB1_A2837647");
        TextExpressionSetToken("Param/Expression/lib_PEB1_F9D36802", "A", UnitGetName(libGame_gv_players[libGame_gf_HeroKilledKillingPlayer()].lv_heroUnit));

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10781

            PlayerGroupAdd(lv_vOGroup, lv_targetPlayer);
            libSond_gf_HeroVOPlayResurrected(lv_targetPlayer, lv_vOGroup);
            TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "A", PlayerName(lv_casterPlayer));
            TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "B", UnitGetName(libGame_gv_players[lv_casterPlayer].lv_heroUnit));
            TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "C", PlayerName(lv_targetPlayer));

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10783

            TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "A", PlayerName(lv_casterPlayer));
            TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "B", UnitGetName(libGame_gv_players[lv_casterPlayer].lv_heroUnit));
            TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "C", PlayerName(lv_targetPlayer));
            TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "D", UnitGetName(libGame_gv_players[lv_targetPlayer].lv_heroUnit));
            UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_F516D87C"));

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10809

                PlayerGroupAdd(lv_vOGroup, lv_targetPlayer);
                libSond_gf_HeroVOPlayResurrected(lv_targetPlayer, lv_vOGroup);
                TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "A", PlayerName(lv_casterPlayer));
                TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "B", UnitGetName(libGame_gv_players[lv_casterPlayer].lv_heroUnit));
                TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "C", PlayerName(lv_targetPlayer));

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:10811

                TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "A", PlayerName(lv_casterPlayer));
                TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "B", UnitGetName(libGame_gv_players[lv_casterPlayer].lv_heroUnit));
                TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "C", PlayerName(lv_targetPlayer));
                TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "D", UnitGetName(libGame_gv_players[lv_targetPlayer].lv_heroUnit));
                UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_7750E430"));

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:136

    libGame_gv_players[lp_player].lv_rosterSlot = lv_slot;
    libGame_gv_players[lp_player].lv_teamPlayerSlot = lv_numberOfPlayersOnTeam;
    libGame_gv_players[lp_player].lv_name = PlayerName(lp_player);
    PlayerSetState(lp_player, c_playerStateDisplayGameResult, false);
}

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:4542

                TimerStart(libPEB1_gv_zergHeroes[libPEB1_gv_currentStage][lv_itHero].lv_respawnTimer, libPEB1_gv_zergHeroRespawnTimer, false, c_timeGame);
                if ((UnitGetOwner(EventUnit()) != libNtve_gf_KillingPlayer())) {
                    TextExpressionSetToken("Param/Expression/lib_PEB1_7E30233A", "A", PlayerName(libNtve_gf_KillingPlayer()));
                    TextExpressionSetToken("Param/Expression/lib_PEB1_7E30233A", "B", UnitGetName(libNtve_gf_KillingUnit()));
                    UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_7E30233A"));

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:4553

                UnitBehaviorAdd(libGame_gv_players[lv_murkyPlayer].lv_heroUnit, "MurkyDeadEggReveal", libNtve_gf_KillingUnit(), 1);
                if ((UnitGetOwner(EventUnit()) != libNtve_gf_KillingPlayer())) {
                    TextExpressionSetToken("Param/Expression/lib_PEB1_A5263822", "A", PlayerName(libNtve_gf_KillingPlayer()));
                    UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_A5263822"));
                }

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:5218

        if ((libPEB1_gv_zergHeroes[libPEB1_gv_currentStage][lv_itHero].lv_hero == lv_killedHero)) {
            if ((libPEB1_gv_zergHeroes[libPEB1_gv_currentStage][lv_itHero].lv_hero == "Murky") && (UnitIsValid(libPEB1_gv_pvEMurkyEggUnit) == true)) {
                TextExpressionSetToken("Param/Expression/lib_PEB1_37F509BA", "A", PlayerName(libGame_gf_HeroKilledKillingPlayer()));
                TextExpressionSetToken("Param/Expression/lib_PEB1_37F509BA", "B", UnitGetName(libGame_gv_players[libGame_gf_HeroKilledKillingPlayer()].lv_heroUnit));
                TextExpressionSetToken("Param/Expression/lib_PEB1_37F509BA", "C", libPEB1_gf_PZEZergBossName(lv_killedHero));

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:5225

            }
            else {
                TextExpressionSetToken("Param/Expression/lib_PEB1_98EF9FE6", "A", PlayerName(libGame_gf_HeroKilledKillingPlayer()));
                TextExpressionSetToken("Param/Expression/lib_PEB1_98EF9FE6", "B", UnitGetName(libGame_gv_players[libGame_gf_HeroKilledKillingPlayer()].lv_heroUnit));
                TextExpressionSetToken("Param/Expression/lib_PEB1_98EF9FE6", "C", libPEB1_gf_PZEZergBossName(lv_killedHero));

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

    libSond_gf_HeroVOPlayResurrected(lp_playerIndex, lv_vOGroup);
    if ((libNtve_gf_PlayerInCinematicMode(lp_playerIndex) == false)) {
        TextExpressionSetToken("Param/Expression/lib_PVEB_D3C8FC72", "A", PlayerName(lp_playerIndex));
        TextExpressionSetToken("Param/Expression/lib_PVEB_D3C8FC72", "B", UnitGetName(libGame_gv_players[lp_playerIndex].lv_heroUnit));
        UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PVEB_D3C8FC72"));

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

    libSond_gf_HeroVOPlayResurrected(lv_targetPlayer, lv_vOGroup);
    if ((libNtve_gf_PlayerInCinematicMode(lv_targetPlayer) == false)) {
        TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "A", PlayerName(lv_targetPlayer));
        TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "B", UnitGetName(lv_targetHero));
        TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "C", PlayerName(lv_casterPlayer));

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

        TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "A", PlayerName(lv_targetPlayer));
        TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "B", UnitGetName(lv_targetHero));
        TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "C", PlayerName(lv_casterPlayer));
        TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "D", UnitGetName(lv_caster));
        UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PVEB_82544EEF"));

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

    DialogControlCreateFromTemplate(libPVEB_gv_pvEResurrectRevivingDialog[lv_targetPlayer].lv_panel, c_triggerControlTypeLabel, "Auriel/AurielResurrectionNotificationTemplate");
    libPVEB_gv_pvEResurrectRevivingDialog[lv_targetPlayer].lv_label = DialogLastCreated();
    TextExpressionSetToken("Param/Expression/lib_PVEB_1DA07CDF", "A", PlayerName(lv_resurrectPlayer));
    TextExpressionSetToken("Param/Expression/lib_PVEB_1DA07CDF", "B", UnitGetName(lv_resurrecter));
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), TextExpressionAssemble("Param/Expression/lib_PVEB_1DA07CDF"), PlayerGroupSingle(lv_targetPlayer));

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

            if (lv_itUnit == null) { break; }
            lv_newBehaviorTime = MinF(lv_newBehaviorTime, UnitBehaviorDuration(lv_itUnit, "PVEResurrectCastTracking"));
            lv_newPlayerName = PlayerName(UnitGetOwner(lv_itUnit));
            lv_newHeroName = UnitGetName(lv_itUnit);
        }

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmodbase.stormdata/LibPBUI.galaxy:336

            lv_itPlayerSlot += 1;
            libPBUI_gv_curateHeroSelectionUI.lv_teamPanelRowPlayer[lv_itViewer][lv_itPlayerSlot] = lv_itViewer;
            libNtve_gf_SetDialogItemText(libPBUI_gv_curateHeroSelectionUI.lv_teamHeroPlayerName[lv_itPlayerSlot], PlayerName(lv_itViewer), libCore_gv_playerGroupFromPlayer[lv_itViewer]);
            DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_teamHeroBorder[lv_itPlayerSlot], libCore_gv_playerGroupFromPlayer[lv_itViewer], false);
            DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_teamHeroPlayerName[lv_itPlayerSlot], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmodbase.stormdata/LibPBUI.galaxy:350

                lv_itPlayerSlot += 1;
                libPBUI_gv_curateHeroSelectionUI.lv_teamPanelRowPlayer[lv_itViewer][lv_itPlayerSlot] = lv_itPlayer;
                libNtve_gf_SetDialogItemText(libPBUI_gv_curateHeroSelectionUI.lv_teamHeroPlayerName[lv_itPlayerSlot], PlayerName(lv_itPlayer), libCore_gv_playerGroupFromPlayer[lv_itViewer]);
                DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_teamHeroBorder[lv_itPlayerSlot], libCore_gv_playerGroupFromPlayer[lv_itViewer], false);
                DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_teamHeroPlayerName[lv_itPlayerSlot], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);

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

    libSond_gf_HeroVOPlayResurrected(lp_playerIndex, lv_vOGroup);
    if ((libNtve_gf_PlayerInCinematicMode(lp_playerIndex) == false)) {
        TextExpressionSetToken("Param/Expression/lib_PVEM_D3C8FC72", "A", PlayerName(lp_playerIndex));
        TextExpressionSetToken("Param/Expression/lib_PVEM_D3C8FC72", "B", UnitGetName(libGame_gv_players[lp_playerIndex].lv_heroUnit));
        UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PVEM_D3C8FC72"));

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

    libSond_gf_HeroVOPlayResurrected(lv_targetPlayer, lv_vOGroup);
    if ((libNtve_gf_PlayerInCinematicMode(lv_targetPlayer) == false)) {
        TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "A", PlayerName(lv_targetPlayer));
        TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "B", UnitGetName(lv_targetHero));
        TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "C", PlayerName(lv_casterPlayer));

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

        TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "A", PlayerName(lv_targetPlayer));
        TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "B", UnitGetName(lv_targetHero));
        TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "C", PlayerName(lv_casterPlayer));
        TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "D", UnitGetName(lv_caster));
        UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PVEM_82544EEF"));

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

    DialogControlCreateFromTemplate(libPVEM_gv_pvEResurrectRevivingDialog[lv_targetPlayer].lv_panel, c_triggerControlTypeLabel, "Auriel/AurielResurrectionNotificationTemplate");
    libPVEM_gv_pvEResurrectRevivingDialog[lv_targetPlayer].lv_label = DialogLastCreated();
    TextExpressionSetToken("Param/Expression/lib_PVEM_1DA07CDF", "A", PlayerName(lv_resurrectPlayer));
    TextExpressionSetToken("Param/Expression/lib_PVEM_1DA07CDF", "B", UnitGetName(lv_resurrecter));
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), TextExpressionAssemble("Param/Expression/lib_PVEM_1DA07CDF"), PlayerGroupSingle(lv_targetPlayer));

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

            if (lv_itUnit == null) { break; }
            lv_newBehaviorTime = MinF(lv_newBehaviorTime, UnitBehaviorDuration(lv_itUnit, "DeadHeroResurrectCastTrackingBehavior"));
            lv_newPlayerName = PlayerName(UnitGetOwner(lv_itUnit));
            lv_newHeroName = UnitGetName(lv_itUnit);
        }

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:359

            lv_itPlayerSlot += 1;
            libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamPanelRowPlayer[lv_itViewer][lv_itPlayerSlot] = lv_itViewer;
            libNtve_gf_SetDialogItemText(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamHeroPlayerName[lv_itPlayerSlot], PlayerName(lv_itViewer), libCore_gv_playerGroupFromPlayer[lv_itViewer]);
            DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamHeroBorder[lv_itPlayerSlot], libCore_gv_playerGroupFromPlayer[lv_itViewer], false);
            DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamHeroPlayerName[lv_itPlayerSlot], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:373

                lv_itPlayerSlot += 1;
                libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamPanelRowPlayer[lv_itViewer][lv_itPlayerSlot] = lv_itPlayer;
                libNtve_gf_SetDialogItemText(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamHeroPlayerName[lv_itPlayerSlot], PlayerName(lv_itPlayer), libCore_gv_playerGroupFromPlayer[lv_itViewer]);
                DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamHeroBorder[lv_itPlayerSlot], libCore_gv_playerGroupFromPlayer[lv_itViewer], false);
                DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamHeroPlayerName[lv_itPlayerSlot], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:562

    if ((libGame_gv_afk_AfkDetectionSystemEnabled == true)) {
        if ((PlayerStatus(lp_player) == c_playerStatusActive) && (PlayerType(lp_player) == c_playerTypeUser)) {
            TextExpressionSetToken("Param/Expression/lib_Game_9D7B4265", "A", PlayerName(lp_player));
            UIDisplayMessage(PlayerGroupAlliance(c_playerGroupAlly, lp_player), c_messageAreaSubtitle, TextExpressionAssemble("Param/Expression/lib_Game_9D7B4265"));
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:8437

        ActorSendTo(libNtve_gf_MainActorofUnit(libGame_gv_townTownData[lp_townIndex].lv_lootBannerUnit), "LootBanner", libNtve_gf_BannerSet(libGame_gv_players[lv_creditPlayer].lv_lootContent.lv_loot_Banner.lv_bannerID));
        Wait(0.5, c_timeGame);
        TextExpressionSetToken("Param/Expression/lib_Game_A1A65E62", "A", PlayerName(lv_creditPlayer));
        TextTagCreate(TextExpressionAssemble("Param/Expression/lib_Game_A1A65E62"), 20, lv_positionOfBanner, libGame_gv_loot_BannerTextTagHeightOffset_C, true, false, libGame_gf_PlayersOnTeamHeroes(libGame_gf_TeamNumberOfPlayer(lv_creditPlayer), false));
        TextTagAttachToUnit(TextTagLastCreated(), libGame_gv_townTownData[lp_townIndex].lv_lootBannerUnit, libGame_gv_loot_BannerTextTagHeightOffset_C);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:8440

        TextTagCreate(TextExpressionAssemble("Param/Expression/lib_Game_A1A65E62"), 20, lv_positionOfBanner, libGame_gv_loot_BannerTextTagHeightOffset_C, true, false, libGame_gf_PlayersOnTeamHeroes(libGame_gf_TeamNumberOfPlayer(lv_creditPlayer), false));
        TextTagAttachToUnit(TextTagLastCreated(), libGame_gv_townTownData[lp_townIndex].lv_lootBannerUnit, libGame_gv_loot_BannerTextTagHeightOffset_C);
        TextExpressionSetToken("Param/Expression/lib_Game_B776822C", "A", PlayerName(lv_creditPlayer));
        TextTagCreate(TextExpressionAssemble("Param/Expression/lib_Game_B776822C"), 20, lv_positionOfBanner, libGame_gv_loot_BannerTextTagHeightOffset_C, true, false, libGame_gf_PlayersOnTeamHeroes(libGame_gf_EnemyTeamNumberOfPlayer(lv_creditPlayer), false));
        TextTagAttachToUnit(TextTagLastCreated(), libGame_gv_townTownData[lp_townIndex].lv_lootBannerUnit, libGame_gv_loot_BannerTextTagHeightOffset_C);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:8498

        TextTagDestroy(libCore_gf_TextTagStoredForUnit(lp_sconceUnit, lv_textTagAttachmentIndex1_C));
        TextTagDestroy(libCore_gf_TextTagStoredForUnit(lp_sconceUnit, lv_textTagAttachmentIndex2_C));
        TextExpressionSetToken("Param/Expression/lib_Game_F8D64D74", "A", PlayerName(lp_owningPlayer));
        TextTagCreate(TextExpressionAssemble("Param/Expression/lib_Game_F8D64D74"), 20, UnitGetPosition(lp_sconceUnit), libGame_gv_loot_BannerTextTagHeightOffset_C, true, false, libGame_gf_PlayersOnTeamHeroes(libGame_gf_TeamNumberOfPlayer(lp_owningPlayer), false));
        TextTagAttachToUnit(TextTagLastCreated(), lp_sconceUnit, libGame_gv_loot_BannerTextTagHeightOffset_C);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:8502

        TextTagAttachToUnit(TextTagLastCreated(), lp_sconceUnit, libGame_gv_loot_BannerTextTagHeightOffset_C);
        libCore_gf_StoreTextTagForUnit(lp_sconceUnit, lv_textTagAttachmentIndex1_C, TextTagLastCreated());
        TextExpressionSetToken("Param/Expression/lib_Game_3A8C4155", "A", PlayerName(lp_owningPlayer));
        TextTagCreate(TextExpressionAssemble("Param/Expression/lib_Game_3A8C4155"), 20, UnitGetPosition(lp_sconceUnit), libGame_gv_loot_BannerTextTagHeightOffset_C, true, false, libGame_gf_PlayersOnTeamHeroes(libGame_gf_EnemyTeamNumberOfPlayer(lp_owningPlayer), false));
        TextTagAttachToUnit(TextTagLastCreated(), lp_sconceUnit, libGame_gv_loot_BannerTextTagHeightOffset_C);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:10286

    }

    libGame_gv_players[lp_player].lv_name = PlayerName(lp_player);
    PlayerSetState(lp_player, c_playerStateDisplayGameResult, false);
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1062

    }
    if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer >= 1) && (libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer <= libCore_gv_bALMaxPlayers))) {
        TextExpressionSetToken("Param/Expression/lib_MapM_50C2893A", "A", PlayerName(libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer));
        lv_playerNameText = TextExpressionAssemble("Param/Expression/lib_MapM_50C2893A");
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1329

    libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel2[lp_Camp] = DialogControlLastCreated();
    if (((lp_Player >= 1) && (lp_Player <= libCore_gv_bALMaxPlayers))) {
        TextExpressionSetToken("Param/Expression/lib_MapM_104CCD72", "A", PlayerName(lp_Player));
        lv_playerNameText = TextExpressionAssemble("Param/Expression/lib_MapM_104CCD72");
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:1644

            libNtve_gf_SetDialogItemImage(libUIUI_gv_deathRecap_Panel.lv_highestDamagersImages[lv_itHighestDamager], (CatalogFieldValueGet(c_gameCatalogHero, libGame_gv_players[libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagers[lv_itHighestDamager].lv_player].lv_heroData.lv_heroCatalogLink, "SelectScreenButtonImage", c_playerAny)), libCore_gv_playerGroupFromPlayer[lp_deadPlayer]);
            if ((PlayerType(libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagers[lv_itHighestDamager].lv_player) == c_playerTypeUser)) {
                libNtve_gf_SetDialogItemText(libUIUI_gv_deathRecap_Panel.lv_highestDamagersPlayerNameLabels[lv_itHighestDamager], PlayerName(libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagers[lv_itHighestDamager].lv_player), libCore_gv_playerGroupFromPlayer[lp_deadPlayer]);
                DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_highestDamagersAmountLabels[lv_itHighestDamager], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "HighestDamagerState", "Player");
                if ((libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagers[lv_itHighestDamager].lv_heroIndex == libCore_gf_GetIndexFromHero("LostVikings"))) {

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:159

    SoundPlayForPlayer(lv_pingSound, c_maxPlayers, lv_pingPlayers, 100.0, 0.0);
    if (((lv_tooltipLabel != null) == true)) {
        TextExpressionSetToken("Param/Expression/lib_Lbty_28B1D376", "A", PlayerName(lp_player));
        TextExpressionSetToken("Param/Expression/lib_Lbty_28B1D376", "B", lv_tooltipLabel);
        PingSetTooltip(PingLastCreated(), TextExpressionAssemble("Param/Expression/lib_Lbty_28B1D376"));

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:164

    }
    else {
        PingSetTooltip(PingLastCreated(), PlayerName(lp_player));
    }
}

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:192

            TextExpressionSetToken("Param/Expression/lib_Lbty_408B1BB0", "PLAYER", GameUserName(lp_gameUser));
            TextExpressionSetToken("Param/Expression/lib_Lbty_408B1BB0", "ENEMYID", IntToText(lp_pingTargetOwner));
            TextExpressionSetToken("Param/Expression/lib_Lbty_408B1BB0", "ENEMY", PlayerName(lp_pingTargetOwner));
            UIDisplayMessage(lv_pingPlayers, c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_Lbty_408B1BB0"));
            lv_tooltipLabel = StringExternal("Param/Value/lib_Lbty_2EEBF357");

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:245

    PingSetScale(PingLastCreated(), lv_pingScale);
    SoundPlayForPlayer(lv_pingSound, c_maxPlayers, lv_pingPlayers, 100.0, 0.0);
    TextExpressionSetToken("Param/Expression/lib_Lbty_37F3FB21", "A", PlayerName(lp_player));
    TextExpressionSetToken("Param/Expression/lib_Lbty_37F3FB21", "B", lv_tooltipLabel);
    PingSetTooltip(PingLastCreated(), TextExpressionAssemble("Param/Expression/lib_Lbty_37F3FB21"));

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:335

    DialogControlCreate(DialogLastCreated(), c_triggerControlTypeLabel);
    libLbty_gv_meleeSurrender_Title[lp_player] = DialogControlLastCreated();
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), (TextWithColor(PlayerName(lp_player), libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(lp_player, false))) + StringExternal("Param/Value/lib_Lbty_1D191C56")), PlayerGroupAll());
    DialogControlSetSize(DialogControlLastCreated(), PlayerGroupAll(), 360, 50);
    libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "AISurrenderTitle", PlayerGroupAll());

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:850

            DialogDestroy(libLbty_gv_meleeSurrender_Dialog[lv_player]);
            libLbty_gv_meleeSurrender_Dialog[lv_player] = c_invalidDialogId;
            TextExpressionSetToken("Param/Expression/lib_Lbty_C971EED3", "A", PlayerName(lv_player));
            TextExpressionSetToken("Param/Expression/lib_Lbty_C971EED3", "B", PlayerName(EventPlayer()));
            UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_Lbty_C971EED3"));

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:851

            libLbty_gv_meleeSurrender_Dialog[lv_player] = c_invalidDialogId;
            TextExpressionSetToken("Param/Expression/lib_Lbty_C971EED3", "A", PlayerName(lv_player));
            TextExpressionSetToken("Param/Expression/lib_Lbty_C971EED3", "B", PlayerName(EventPlayer()));
            UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_Lbty_C971EED3"));
            libLbty_gf_MeleeSurrender_UpdateDialogs();

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4518

    // Implementation
    TextExpressionSetToken("Param/Expression/lib_COOC_D5B22955", "A", IntToText(lp_player));
    TextExpressionSetToken("Param/Expression/lib_COOC_D5B22955", "B", PlayerName(lp_player));
    TextExpressionSetToken("Param/Expression/lib_COOC_D5B22955", "C", StringToText((PlayerCommander(lp_player))));
    TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_COOC_D5B22955"), false);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:759

    DialogControlHookup(libCOUI_gv_cU_CommanderPanel, c_triggerControlTypeLabel, "AccountLabelAlly");
    libCOUI_gv_cU_CommanderAccountNameAlly = DialogControlLastCreated();
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), PlayerName(1), PlayerGroupSingle(2));
    libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(1, false)), PlayerGroupSingle(2));
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), PlayerName(2), PlayerGroupSingle(1));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:761

    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), PlayerName(1), PlayerGroupSingle(2));
    libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(1, false)), PlayerGroupSingle(2));
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), PlayerName(2), PlayerGroupSingle(1));
    libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(2, false)), PlayerGroupSingle(1));
    DialogControlHookup(libCOUI_gv_cU_CommanderPanel, c_triggerControlTypeLabel, "AccountLabelSelf");

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:765

    DialogControlHookup(libCOUI_gv_cU_CommanderPanel, c_triggerControlTypeLabel, "AccountLabelSelf");
    libCOUI_gv_cU_CommanderAccountNameSelf = DialogControlLastCreated();
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), PlayerName(2), PlayerGroupSingle(2));
    libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(2, false)), PlayerGroupSingle(2));
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), PlayerName(1), PlayerGroupSingle(1));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:767

    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), PlayerName(2), PlayerGroupSingle(2));
    libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(2, false)), PlayerGroupSingle(2));
    libNtve_gf_SetDialogItemText(DialogControlLastCreated(), PlayerName(1), PlayerGroupSingle(1));
    libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(1, false)), PlayerGroupSingle(1));
    DialogControlHookup(libCOUI_gv_cU_CommanderPanel, c_triggerControlTypeButton, "ReadyButton");

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:1838

        if (lv_indexPlayer < 0) { break; }
        libNtve_gf_SetDialogItemText(libCOUI_gv_cU_CustomMutatorCommanderNameLabel[lv_indexPlayer], libCOOC_gf_CC_CommanderName(libCOOC_gf_ActiveCommanderForPlayer(lv_indexPlayer)), PlayerGroupAll());
        libNtve_gf_SetDialogItemText(libCOUI_gv_cU_CustomMutatorPlayerNameLabel[lv_indexPlayer], PlayerName(lv_indexPlayer), PlayerGroupAll());
        libNtve_gf_SetDialogItemText(libCOUI_gv_cU_CustomMutatorMasteryLevelLabel[lv_indexPlayer], IntToText(libCOOC_gf_CC_PlayerMasteryLevel(lv_indexPlayer)), PlayerGroupAll());
        libNtve_gf_SetDialogItemText(libCOUI_gv_cU_CustomMutatorLevelLabel[lv_indexPlayer], IntToText(libCOOC_gf_CC_CommanderLevel(lv_indexPlayer, libCOOC_gf_ActiveCommanderForPlayer(lv_indexPlayer))), PlayerGroupAll());

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:5811

        DialogControlInvokeAsText(libCOUI_gv_cU_FanfareFlash, lv_fanfarePlayers, "SetVictoryText", StringExternal("@UI/Text/Defeat"), null, null, null);
    }
    DialogControlInvokeAsText(libCOUI_gv_cU_FanfareFlash, lv_fanfarePlayers, "SetNameText", PlayerName(lp_player), null, null, null);
    DialogControlInvokeAsString(libCOUI_gv_cU_FanfareFlash, lv_fanfarePlayers, "PlayVictoryScreen", StringCase((lv_playerRace), false), null, null, null);
    SoundPlayForPlayer(SoundLink("UI_Victory_All", 0), c_maxPlayers, lv_fanfarePlayers, 100.0, 0.0);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:7516

            lv_clickedItemIndex = (libCOUI_gv_cUC_CustomMutatorItemsPerPage*(libCOUI_gv_cU_CustomMutatorPageSelection[2]-1)+lv_frameIndex);
            TextExpressionSetToken("Param/Expression/lib_COUI_67E0F80D", "ID", IntToText(EventPlayer()));
            TextExpressionSetToken("Param/Expression/lib_COUI_67E0F80D", "PLAYER", PlayerName(EventPlayer()));
            TextExpressionSetToken("Param/Expression/lib_COUI_67E0F80D", "MUTATOR", libCOMU_gf_CT_MutatorName(libCOUI_gv_cU_CustomMutatorItems[lv_clickedItemIndex]));
            UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_COUI_67E0F80D"));

mods/warcoop/warcoopdata.sc2modbase.sc2data/TriggerLibs/WarCoopData.galaxy:938

            DialogControlSetAnimationState(libWCdr_gv_debugHeroSelectUI.lv_readyPanels[lv_currentIndex].lv_readyPanel, PlayerGroupAll(), libWCdr_gv_animationStates.lv_emptyState, libWCdr_gv_animationStates.lv_emptyState_NotEmpty);
            libNtve_gf_SetDialogItemColor(libWCdr_gv_debugHeroSelectUI.lv_readyPanels[lv_currentIndex].lv_playerLabel, libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(lv_currentIndex, false)), PlayerGroupAll());
            libNtve_gf_SetDialogItemText(libWCdr_gv_debugHeroSelectUI.lv_readyPanels[lv_currentIndex].lv_playerLabel, PlayerName(lv_currentIndex), PlayerGroupAll());
        }
        else {

mods/warcoop/warmeleeai.sc2modbase.sc2data/LibW3AI.galaxy:325

    }

    TextExpressionSetToken("Param/Expression/lib_W3AI_C27559DB", "pn", PlayerName(EventPlayer()));
    TextExpressionSetToken("Param/Expression/lib_W3AI_C27559DB", "un", UnitGetName(lv_u));
    UnitSetInfoTip(lv_u, TextExpressionAssemble("Param/Expression/lib_W3AI_C27559DB"));