# Hero Of Player

Grammar — Hero of player p
FlagsNative | Function

Returns the hero of the player.

# Arguments

  • int — Player

Returns — string<gamelink::Hero>

native string PlayerHero(int inPlayer);

Category: Player / Player Settings

# Examples

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:375

    }
    else {
        libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
    }
    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, gv_pLAYER_AI_Ally_C);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:679

    lv_xP = libCore_gf_GetTotalXPForLevel(lv_realLevel);
    Wait(0.0625, c_timeGame);
    if (((PlayerHero(gv_pLAYER_TryMe_C) == "Cho") || (PlayerHero(gv_pLAYER_TryMe_C) == "Gall"))) {
        libGame_gf_SendEventCustomTryMeModeSetLevel(gv_pLAYER_TryMe_C, lv_xP);
    }

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:679

    lv_xP = libCore_gf_GetTotalXPForLevel(lv_realLevel);
    Wait(0.0625, c_timeGame);
    if (((PlayerHero(gv_pLAYER_TryMe_C) == "Cho") || (PlayerHero(gv_pLAYER_TryMe_C) == "Gall"))) {
        libGame_gf_SendEventCustomTryMeModeSetLevel(gv_pLAYER_TryMe_C, lv_xP);
    }

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:687

        }

        libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
        libUIUI_gv_uIDebugPanelSpawnAtCamera = false;
    }

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:692

    if ((lp_isRespec == false)) {
        if ((gv_pLAYER_AI_AllyHero != null)) {
            libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_defaultIndex, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_xP, gv_pLAYER_AI_Ally_C, gv_pLAYER_AI_Ally_C);
        }

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:692

    if ((lp_isRespec == false)) {
        if ((gv_pLAYER_AI_AllyHero != null)) {
            libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_defaultIndex, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_xP, gv_pLAYER_AI_Ally_C, gv_pLAYER_AI_Ally_C);
        }

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:696


        if ((gv_pLAYER_AI_EnemyHero != null)) {
            libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Enemy_C)), 0, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Enemy_C)), lv_xP, gv_pLAYER_AI_Enemy_C, gv_pLAYER_TryMe_C);
        }

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:696


        if ((gv_pLAYER_AI_EnemyHero != null)) {
            libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Enemy_C)), 0, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Enemy_C)), lv_xP, gv_pLAYER_AI_Enemy_C, gv_pLAYER_TryMe_C);
        }

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:375

    }
    else {
        libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
    }
    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, gv_pLAYER_AI_Ally_C);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:679

    lv_xP = libCore_gf_GetTotalXPForLevel(lv_realLevel);
    Wait(0.0625, c_timeGame);
    if (((PlayerHero(gv_pLAYER_TryMe_C) == "Cho") || (PlayerHero(gv_pLAYER_TryMe_C) == "Gall"))) {
        libGame_gf_SendEventCustomTryMeModeSetLevel(gv_pLAYER_TryMe_C, lv_xP);
    }

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:679

    lv_xP = libCore_gf_GetTotalXPForLevel(lv_realLevel);
    Wait(0.0625, c_timeGame);
    if (((PlayerHero(gv_pLAYER_TryMe_C) == "Cho") || (PlayerHero(gv_pLAYER_TryMe_C) == "Gall"))) {
        libGame_gf_SendEventCustomTryMeModeSetLevel(gv_pLAYER_TryMe_C, lv_xP);
    }

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:687

        }

        libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
        libUIUI_gv_uIDebugPanelSpawnAtCamera = false;
    }

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:692

    if ((lp_isRespec == false)) {
        if ((gv_pLAYER_AI_AllyHero != null)) {
            libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_defaultIndex, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_xP, gv_pLAYER_AI_Ally_C, gv_pLAYER_AI_Ally_C);
        }

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:692

    if ((lp_isRespec == false)) {
        if ((gv_pLAYER_AI_AllyHero != null)) {
            libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_defaultIndex, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_xP, gv_pLAYER_AI_Ally_C, gv_pLAYER_AI_Ally_C);
        }

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:696


        if ((gv_pLAYER_AI_EnemyHero != null)) {
            libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Enemy_C)), 0, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Enemy_C)), lv_xP, gv_pLAYER_AI_Enemy_C, gv_pLAYER_TryMe_C);
        }

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:696


        if ((gv_pLAYER_AI_EnemyHero != null)) {
            libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Enemy_C)), 0, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Enemy_C)), lv_xP, gv_pLAYER_AI_Enemy_C, gv_pLAYER_TryMe_C);
        }

mods/heroesbrawlmods/arenamodemods/punisherarena.stormmodbase.stormdata/LibAMPU.galaxy:202


    // Implementation
    lv_hero = PlayerHero(lp_player);
    auto61FEE87C_val = lv_hero;
    if (auto61FEE87C_val == "LostVikings") {

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

        lv_killingPlayerUnitName = TextExpressionAssemble("Param/Expression/lib_PEB1_F9D36802");
    }
    lv_killedHero = PlayerHero(libGame_gf_HeroKilledPlayer());
    libGame_gf_HeroRefreshCooldowns(libGame_gf_HeroKilledPlayer(), false);
    lv_itHero = 1;

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

    }

    lv_killedHero = PlayerHero(libGame_gf_HeroKilledPlayer());
    libGame_gf_HeroRefreshCooldowns(libGame_gf_HeroKilledPlayer(), false);
    lv_itHero = 1;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/AILib.galaxy:1457

        }
    }
    lv_heroName = PlayerHero(lp_trigPlayer);
    lv_numberOfTalentBuilds = CatalogFieldValueCount(c_gameCatalogHero, lv_heroName, "TalentAIBuildsArray", lp_trigPlayer);
    autoB5B4CB0E_ae = lv_numberOfTalentBuilds;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/AILib.galaxy:1478


        if ((lv_curBuildNum >= libAIAI_gv_heroAIMaxNumberofTalentBuilds)) {
            TextExpressionSetToken("Param/Expression/lib_AIAI_B105233B", "A", StringToText((PlayerHero(lp_trigPlayer))));
            TextExpressionSetToken("Param/Expression/lib_AIAI_B105233B", "B", IntToText(lv_numberOfTalentBuilds));
            TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_AIAI_B105233B"), true);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/AILib.galaxy:1490

        lv_numberOfTalentsInArray = CatalogFieldValueCount(c_gameCatalogHero, lv_heroName, "TalentAIBuildsArray[" + IntToString(lv_talentBuildIndex - 1) + "].TalentsArray", c_playerAny);
        if ((lv_numberOfTalentsInArray != libCore_gv_talents_MaxTiers_C)) {
            TextExpressionSetToken("Param/Expression/lib_AIAI_01298FE3", "A", StringToText((PlayerHero(lp_trigPlayer))));
            TextExpressionSetToken("Param/Expression/lib_AIAI_01298FE3", "B", IntToText(lv_talentBuildIndex));
            TextExpressionSetToken("Param/Expression/lib_AIAI_01298FE3", "C", IntToText(lv_numberOfTalentsInArray));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:12864

    // Conditions
    if (testConds) {
        if (!((PlayerHero(libGame_gf_HeroGainTalentPlayer()) == "LostVikings"))) {
            return false;
        }

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

    // Automatic Variable Declarations
    // Implementation
    if ((((libGame_gv_players[lp_player].lv_isDead == true) && (PlayerHero(lp_player) != "Leoric")) || (libGame_gv_afk_AfkDetectionSystemEnabled == false) || (libGame_gv_players[lp_player].lv_playerIgnoresAFKSystem == true))) {
        return ;
    }

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


    // Implementation
    if ((PlayerHero(lp_choPlayerID) == "Gall")) {
        return ;
    }

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

        	lv_itPlayer = PlayerGroupNextPlayer(autoA94CBDD9_g, lv_itPlayer);
        	if (lv_itPlayer<0) { break; }
        	if ((PlayerHero(lv_itPlayer) == "Gall")) {
            lv_gallPlayerID = lv_itPlayer;
            break;

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

    // Implementation
    lv_mountSelectedHeroIndex = lp_mountSelectedPlayer;
    if ((PlayerHero(lp_skinSelectedPlayer) == "Cho")) {
        lv_choPlayerID = lp_skinSelectedPlayer;
    }

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

    lv_itPlayer = 1;
    for ( ; ( (autoB9931724_ai >= 0 && lv_itPlayer <= autoB9931724_ae) || (autoB9931724_ai < 0 && lv_itPlayer >= autoB9931724_ae) ) ; lv_itPlayer += autoB9931724_ai ) {
        lv_heroLink = PlayerHero(lv_itPlayer);
        if (((lv_heroLink == null) || (lv_heroLink == libCore_gv_heroes_RandomHeroID))) {
            continue;

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

    }

    if ((PlayerHero(lp_player) == "LostVikings")) {
        libGame_gf_ControlGroupsEnterVehicleLostVikings(lp_vehicle, lp_hero, lp_player);
    }

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

    }

    if ((PlayerHero(lp_player) == "Samuro") && (PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster") == true)) {
        libGame_gf_ControlGroupsEnterVehicleSamuro(lp_vehicle, lp_hero, lp_player);
    }

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

    }

    if ((PlayerHero(lp_player) == "LostVikings")) {
        libGame_gf_ControlGroupsExitVehicleLostVikings(lp_vehicle, lp_hero, lp_player);
    }

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

    }

    if ((PlayerHero(lp_player) == "Samuro") && (PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster") == true)) {
        libGame_gf_ControlGroupsExitVehicleSamuro(lp_vehicle, lp_hero, lp_player);
    }

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

    // Automatic Variable Declarations
    // Implementation
    if ((PlayerHero(lp_player) == "Samuro") && (PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster") == true)) {
        libGame_gf_ControlGroupsSwapVehicleSamuro(lp_originVehicle, lp_newVehicle, lp_player);
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:1246

    // Variable Initialization
    lv_value = "";
    lv_hero = PlayerHero(lp_player);
    lv_skin = PlayerSkin(lp_player);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:2003

    lv_itTier = 1;
    for ( ; ( (autoEE7F0FF9_ai >= 0 && lv_itTier <= autoEE7F0FF9_ae) || (autoEE7F0FF9_ai < 0 && lv_itTier >= autoEE7F0FF9_ae) ) ; lv_itTier += autoEE7F0FF9_ai ) {
        libGame_gv_players[lp_player].lv_talents_TierLevels[lv_itTier].lv_level = CatalogFieldValueGetAsInt(c_gameCatalogHero, PlayerHero(lp_player), "TalentTierArray[" + IntToString((lv_itTier-1)) + "].Level", lp_player);
    }
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:2021

    lv_itTier = 1;
    for ( ; lv_itTier <= auto4418CAF4_ae ; lv_itTier += 1 ) {
        if ((CatalogFieldValueGetAsInt(c_gameCatalogHero, PlayerHero(lp_player), "TalentTierArray[" + IntToString((lv_itTier-1)) + "].ContainsHeroic", c_playerAny) == 1)) {
            libGame_gv_players[lp_player].lv_talent_HeroicTalentTier = lv_itTier;
            break;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SoundLib.galaxy:943

        lv_it_SpeakingPlayer = 1;
        for ( ; ( (auto7EB7135C_ai >= 0 && lv_it_SpeakingPlayer <= auto7EB7135C_ae) || (auto7EB7135C_ai < 0 && lv_it_SpeakingPlayer >= auto7EB7135C_ae) ) ; lv_it_SpeakingPlayer += auto7EB7135C_ai ) {
            if (((PlayerHero(lv_it_SpeakingPlayer) != "") && (libGame_gf_TeamNumberOfPlayer(lv_it_SpeakingPlayer) == libGame_gf_TeamNumberOfPlayer(lv_player)))) {
                libSond_gf_HeroVOPlayHeroLine(libCore_ge_HeroVOEvents_Cheer, lv_it_SpeakingPlayer, PlayerGroupSingle(lv_player));
            }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2013

    }

    libStEx_gv_tutorialHero = PlayerHero(libStEx_gv_pLAYER_01_USER);
    if (((libStEx_gv_tutorialHero == null) || (libStEx_gv_tutorialHero == libCore_gv_heroes_RandomHeroID))) {
        if (((libStEx_gv_automation_Debug == true) || (GameIsTestMap(true) == true))) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:8818

            lv_baseHealth = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogUnit, UnitGetType(lv_selectedUnit), "LifeStart", 0), c_fixedPrecisionAny);
            lv_baseHealthRegen = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogUnit, UnitGetType(lv_selectedUnit), "LifeRegenRate", 0), c_fixedPrecisionAny);
            lv_baseHealthScaling = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogHero, PlayerHero(EventPlayer()), "LevelScalingArray[" + IntToString(6) + "].Modifications[" + IntToString(1) + "].Value", 0), c_fixedPrecisionAny);
            lv_weaponDamage = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogEffect, CatalogFieldValueGet(c_gameCatalogWeapon, UnitWeaponGet(lv_selectedUnit, 1), "DisplayEffect", c_playerAny), "Amount", 0), c_fixedPrecisionAny);
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:8824

            lv_baseHealth = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogUnit, UnitGetType(lv_selectedUnit), "LifeStart", 0), c_fixedPrecisionAny);
            lv_baseHealthRegen = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogUnit, UnitGetType(lv_selectedUnit), "LifeRegenRate", 0), c_fixedPrecisionAny);
            lv_baseHealthScaling = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogHero, PlayerHero(EventPlayer()), "LevelScalingArray[" + IntToString(1) + "].Modifications[" + IntToString(0) + "].Value", 0), c_fixedPrecisionAny);
            lv_weaponDamage = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogEffect, CatalogFieldValueGet(c_gameCatalogWeapon, UnitWeaponGet(lv_selectedUnit, 1), "DisplayEffect", c_playerAny), "Amount", 0), c_fixedPrecisionAny);
        }

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

    lv_alliedTeam = libGame_gf_PlayersOnTeamHeroes(libGame_gf_TeamNumberOfPlayer(libGame_gf_HeroLevelUpPlayer()), false);
    lv_enemyTeam = libGame_gf_PlayersOnTeamHeroes(libGame_gf_EnemyTeamNumberOfPlayer(libGame_gf_HeroLevelUpPlayer()), false);
    if ((PlayerHero(libGame_gf_HeroLevelUpPlayer()) == "Chromie")) {
        auto4C80ADCF_g = lv_alliedTeam;
        auto4C80ADCF_var = -1;

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

            	auto4C80ADCF_var = PlayerGroupNextPlayer(auto4C80ADCF_g, auto4C80ADCF_var);
            	if (auto4C80ADCF_var<0) { break; }
            	if ((PlayerHero(auto4C80ADCF_var) != "Chromie")) {
                lv_skipMessaging = true;
                break;

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

    lv_alliedTeam = libGame_gf_PlayersOnTeamHeroes(libGame_gf_TeamNumberOfPlayer(libGame_gf_HeroLevelUpPlayer()), false);
    lv_enemyTeam = libGame_gf_PlayersOnTeamHeroes(libGame_gf_EnemyTeamNumberOfPlayer(libGame_gf_HeroLevelUpPlayer()), false);
    if ((PlayerHero(libGame_gf_HeroLevelUpPlayer()) == "Chromie")) {
        autoC07B5041_g = lv_alliedTeam;
        autoC07B5041_var = -1;

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

            	autoC07B5041_var = PlayerGroupNextPlayer(autoC07B5041_g, autoC07B5041_var);
            	if (autoC07B5041_var<0) { break; }
            	if ((PlayerHero(autoC07B5041_var) != "Chromie")) {
                lv_skipMessaging = true;
                break;

mods/heromods/ana.stormmodbase.stormdata/LibHANA.galaxy:258

    }

    if (((CatalogFieldValueGet(c_gameCatalogHero, PlayerHero(UnitGetOwner(lv_targetUnit)), "Gender", UnitGetOwner(lv_targetUnit)) == "Female") || (UnitGetType(lv_targetUnit) == "HeroProbius"))) {
        UnitCreateEffectUnit(lv_ana, "AnaNanoBoostModifyUnitDummyFemale", lv_targetUnit);
    }

mods/heromods/chogall.stormmodbase.stormdata/LibHCHO.galaxy:1459

        }

        if (!(((PlayerHero(lv_localPlayer) == "Cho") || (PlayerHero(lv_localPlayer) == "Gall")))) {
            return false;
        }

mods/heromods/chogall.stormmodbase.stormdata/LibHCHO.galaxy:1459

        }

        if (!(((PlayerHero(lv_localPlayer) == "Cho") || (PlayerHero(lv_localPlayer) == "Gall")))) {
            return false;
        }

mods/heromods/firebat.stormmodbase.stormdata/LibHFIR.galaxy:240

    }

    if ((PlayerHero(lv_bunkerDropPassengerPlayer) == "LostVikings")) {
        libGame_gf_ControlGroupsExitVehicleLostVikings(lv_bunkerDropTurretUnit, lv_bunkerDropPassengerUnit, lv_bunkerDropPassengerPlayer);
    }

mods/heromods/firebat.stormmodbase.stormdata/LibHFIR.galaxy:244

    }

    if ((PlayerHero(lv_bunkerDropPassengerPlayer) == "Samuro") && (PlayerHasTalent(lv_bunkerDropPassengerPlayer, "SamuroHeroicAbilityIllusionMaster") == true)) {
        libGame_gf_ControlGroupsExitVehicleSamuro(lv_bunkerDropTurretUnit, lv_bunkerDropPassengerUnit, lv_bunkerDropPassengerPlayer);
    }

mods/heromods/maiev.stormmodbase.stormdata/LibHMAI.galaxy:85

    // Conditions
    if (testConds) {
        if (!((PlayerHero(lv_respecPlayer) == "Maiev"))) {
            return false;
        }

mods/heromods/varian.stormmodbase.stormdata/LibHVAR.galaxy:204

        }

        if (!((PlayerHero(libGame_gf_HeroParticipatedInNPCTakedownKillingPlayer()) == "Varian"))) {
            return false;
        }