# Player In Player Group

Grammarp is in g|Player Group
FlagsNative | Function

Returns true if the specified player is in the specified player group.

# Arguments

  • playergroup — Group
  • int — Player

Returns — bool

native bool PlayerGroupHasPlayer(
	playergroup inGroup,
	int inPlayer,
);

Category: Player Group / Groups

# Examples

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

        }

        if ((PlayerGroupHasPlayer(libCamp_gv__CB_Unit_ActivationPlayerGroup[lv_unitIndex], lv_playerIndex) == false)) {
            return true;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:4813

        }

        if (!((PlayerGroupHasPlayer(gv_enemyPlayers, UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:4828

        auto0258A7AA_var = UnitGroupUnitFromEnd(auto0258A7AA_g, auto0258A7AA_u);
        if (auto0258A7AA_var == null) { break; }
        if ((PlayerGroupHasPlayer(gv_enemyPlayers, UnitGetOwner(auto0258A7AA_var)) == true) && (UnitGetType(auto0258A7AA_var) != "InfestationSpire") && (UnitGetType(auto0258A7AA_var) != "CreepPodsUnit") && (UnitGetType(auto0258A7AA_var) != "BanelingEggNestVoid")) {
            UnitGroupAdd(lv_zergStructureGroup, auto0258A7AA_var);
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2mapMapScript.galaxy:4813

        }

        if (!((PlayerGroupHasPlayer(gv_enemyPlayers, UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2mapMapScript.galaxy:4828

        auto0258A7AA_var = UnitGroupUnitFromEnd(auto0258A7AA_g, auto0258A7AA_u);
        if (auto0258A7AA_var == null) { break; }
        if ((PlayerGroupHasPlayer(gv_enemyPlayers, UnitGetOwner(auto0258A7AA_var)) == true) && (UnitGetType(auto0258A7AA_var) != "InfestationSpire") && (UnitGetType(auto0258A7AA_var) != "CreepPodsUnit") && (UnitGetType(auto0258A7AA_var) != "BanelingEggNestVoid")) {
            UnitGroupAdd(lv_zergStructureGroup, auto0258A7AA_var);
        }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2180

    // Automatic Variable Declarations
    // Implementation
    return PlayerGroupHasPlayer(libNtve_gv__PlayersInCineMode, lp_player);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3965

        lv_itPlayer = PlayerGroupNextPlayer(auto6FEE7F4A_g, lv_itPlayer);
        if (lv_itPlayer < 0) { break; }
        if ((PlayerGroupHasPlayer(lp_groupB, lv_itPlayer) == true)) {
            PlayerGroupAdd(lv_group, lv_itPlayer);
        }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4538

    // Automatic Variable Declarations
    // Implementation
    return PlayerGroupHasPlayer(libNtve_gv__PlayersInStoryMode, lp_player);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1864

    // Automatic Variable Declarations
    // Implementation
    return PlayerGroupHasPlayer(libNtve_gv__PlayersInCineMode, lp_player);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3796

    // Automatic Variable Declarations
    // Implementation
    return PlayerGroupHasPlayer(libNtve_gv__PlayersInStoryMode, lp_player);
}

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

            auto0A49F9F0_var = UnitGroupUnitFromEnd(auto0A49F9F0_g, auto0A49F9F0_u);
            if (auto0A49F9F0_var == null) { break; }
            if ((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, UnitGetOwner(auto0A49F9F0_var)) == true)) {
                UnitIssueOrder(auto0A49F9F0_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitGroupClosestToPoint(UnitGroupAlliance(libCore_gv_cOMPUTER_TeamChaos, c_unitAllianceEnemy, RegionPlayableMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), UnitGetPosition(auto0A49F9F0_var)))), c_orderQueueReplace);
            }

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

    // Conditions
    if (testConds) {
        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, EventPlayer()) == true))) {
            return false;
        }

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

        auto7FC6FACA_var = UnitGroupUnitFromEnd(auto7FC6FACA_g, auto7FC6FACA_u);
        if (auto7FC6FACA_var == null) { break; }
        if ((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, UnitGetOwner(auto7FC6FACA_var)) == true)) {
            UnitBehaviorAdd(auto7FC6FACA_var, "AbathurEvolveMonstrosityDamageStack", auto7FC6FACA_var, 40);
            UnitBehaviorAdd(auto7FC6FACA_var, "AbathurEvolveMonstrosityHealthStack", auto7FC6FACA_var, 40);

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

        }

        if (!((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, true), UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

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

    // Conditions
    if (testConds) {
        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, lv_zagaraPlayer) == true))) {
            return false;
        }

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

    else if (auto9F0CE43B_val == "SlivanBossPod") {
        lv_killingUnit = libNtve_gf_KillingUnit();
        if ((lv_killingUnit != null) && (PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, UnitGetOwner(lv_killingUnit)) == true)) {
            libPEB1_gv_regenerationGlobeCounter += 1;
        }

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

            auto0A49F9F0_var = UnitGroupUnitFromEnd(auto0A49F9F0_g, auto0A49F9F0_u);
            if (auto0A49F9F0_var == null) { break; }
            if ((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, UnitGetOwner(auto0A49F9F0_var)) == true)) {
                lv_nearbyUnits = UnitGroupAlliance(libCore_gv_cOMPUTER_TeamChaos, c_unitAllianceEnemy, RegionFromName("Abathur Move Check 2"), UnitFilter(0, 0, (1 << c_targetFilterMissile) | (1 << c_targetFilterItem) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterBenign - 32))), 0);
                if ((UnitGroupCount(lv_nearbyUnits, c_unitCountAlive) > 0)) {

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

    // Conditions
    if (testConds) {
        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, EventPlayer()) == true))) {
            return false;
        }

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

        auto7FC6FACA_var = UnitGroupUnitFromEnd(auto7FC6FACA_g, auto7FC6FACA_u);
        if (auto7FC6FACA_var == null) { break; }
        if ((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, UnitGetOwner(auto7FC6FACA_var)) == true)) {
            UnitBehaviorAdd(auto7FC6FACA_var, "AbathurEvolveMonstrosityDamageStack", auto7FC6FACA_var, 40);
            UnitBehaviorAdd(auto7FC6FACA_var, "AbathurEvolveMonstrosityHealthStack", auto7FC6FACA_var, 40);

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

    // Conditions
    if (testConds) {
        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, lv_zagaraPlayer) == true))) {
            return false;
        }

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

        }

        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

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

        }

        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

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

        }

        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

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

        }

        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

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

        }

        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

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

        }

        if (!((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, UnitGetOwner(EventUnit())) == true))) {
            return false;
        }

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

    }

    if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lp_killingPlayer) == true)) {
        PlayerGroupAdd(lv_killCreditGroup, lp_killingPlayer);
        PlayerGroupAdd(lv_xPAwardGroup, lp_killingPlayer);

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

        if (((UnitHasBehavior2(lv_itUnit, "EarnsXP") == true) || ((UnitTypeTestAttribute(UnitGetType(lv_itUnit), c_unitAttributeHeroic) == true) && (UnitHasBehavior2(lv_itUnit, "AbathurUltimateEvolutionVehicleCasterBehavior") == false) && (UnitTestState(lv_itUnit, c_unitStateHallucination) == false)))) {
            lv_creditPlayer = UnitGetOwner(lv_itUnit);
            if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lv_creditPlayer) == true)) {
                PlayerGroupAdd(lv_xPAwardGroup, lv_creditPlayer);
            }

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

    // Automatic Variable Declarations
    // Implementation
    if ((PlayerGroupHasPlayer(libPVEB_gf_PBPlayersOnHumanTeam(), lp_player) == true) && (PlayerStatus(lp_player) == c_playerStatusActive) && (PlayerType(lp_player) != c_playerTypeHostile)) {
        return true;
    }

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

        	if (lv_itViewer<0) { break; }
        	lv_itPlayerSlot = 0;
        if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lv_itViewer) == true)) {
            lv_itPlayerSlot += 1;
            libPBUI_gv_curateHeroSelectionUI.lv_teamPanelRowPlayer[lv_itViewer][lv_itPlayerSlot] = lv_itViewer;

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


        }
        if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lv_itViewer) == true) && (libPBUI_gv_curateHeroSelectionSetting.lv_selectedHeroRow[lv_itViewer] > 0) && (libPBUI_gv_curateHeroSelectionSetting.lv_selectedHeroCol[lv_itViewer] > 0)) {
            DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonBordersSelectedByMe1[libPBUI_gv_curateHeroSelectionSetting.lv_selectedHeroRow[lv_itViewer]][libPBUI_gv_curateHeroSelectionSetting.lv_selectedHeroCol[lv_itViewer]], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);
            DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonBordersSelectedByMe2[libPBUI_gv_curateHeroSelectionSetting.lv_selectedHeroRow[lv_itViewer]][libPBUI_gv_curateHeroSelectionSetting.lv_selectedHeroCol[lv_itViewer]], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);

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

        }

        if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lv_itViewer) == true) && (libPBUI_gv_curateHeroSelectionSetting.lv_lockedIn[lv_itViewer] == true) && (libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroRow[lv_itViewer] > 0) && (libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroCol[lv_itViewer] > 0)) {
            DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonBordersLockedByMe1[libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroRow[lv_itViewer]][libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroCol[lv_itViewer]], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);
            DialogControlSetVisible(libPBUI_gv_curateHeroSelectionUI.lv_heroButtonBordersLockedByMe2[libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroRow[lv_itViewer]][libPBUI_gv_curateHeroSelectionSetting.lv_lockedHeroCol[lv_itViewer]], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);

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

                }
                else if (autoA7CF61D5_val == libPBUI_ge_CurateHeroSelectionCellState_Normal) {
                    if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lv_itViewer) == true) && (libPBUI_gv_curateHeroSelectionSetting.lv_lockedIn[lv_itViewer] == true)) {
                        libPBUI_gf_CurateHSUIEnableDisableHeroButton(false, lv_itRow, lv_itCol, libCore_gv_playerGroupFromPlayer[lv_itViewer], true);
                    }

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


    // Implementation
    if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), lp_player) == false)) {
        return false;
    }

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

    // Automatic Variable Declarations
    // Implementation
    if ((PlayerGroupHasPlayer(libPVEM_gf_PvEPlayersOnHumanTeam(false), lp_player) == true) && (PlayerStatus(lp_player) != c_playerStatusUnused) && (PlayerType(lp_player) != c_playerTypeHostile)) {
        return true;
    }

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

    }

    if ((PlayerGroupHasPlayer(libPVEM_gf_PvEPlayersOnHumanTeam(false), lp_killingPlayer) == true)) {
        PlayerGroupAdd(lv_killCreditGroup, lp_killingPlayer);
        PlayerGroupAdd(lv_xPAwardGroup, lp_killingPlayer);

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

        if (((UnitHasBehavior2(lv_itUnit, "EarnsXP") == true) || ((UnitTypeTestAttribute(UnitGetType(lv_itUnit), c_unitAttributeHeroic) == true) && (UnitHasBehavior2(lv_itUnit, "AbathurUltimateEvolutionVehicleCasterBehavior") == false) && (UnitTestState(lv_itUnit, c_unitStateHallucination) == false)))) {
            lv_creditPlayer = UnitGetOwner(lv_itUnit);
            if ((PlayerGroupHasPlayer(libPVEM_gf_PvEPlayersOnHumanTeam(false), lv_creditPlayer) == true)) {
                PlayerGroupAdd(lv_xPAwardGroup, lv_creditPlayer);
            }

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

        	if (lv_itViewer<0) { break; }
        	lv_itPlayerSlot = 0;
        if ((PlayerGroupHasPlayer(libPVEM_gf_PvEPlayersOnHumanTeam(false), lv_itViewer) == true)) {
            lv_itPlayerSlot += 1;
            libPVEU_gv_pvEUICurateHeroSelectionUI.lv_teamPanelRowPlayer[lv_itViewer][lv_itPlayerSlot] = lv_itViewer;

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


        }
        if ((PlayerGroupHasPlayer(libPVEM_gf_PvEPlayersOnHumanTeam(false), lv_itViewer) == true) && (libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_selectedHeroRow[lv_itViewer] > 0) && (libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_selectedHeroCol[lv_itViewer] > 0)) {
            DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonBordersSelectedByMe1[libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_selectedHeroRow[lv_itViewer]][libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_selectedHeroCol[lv_itViewer]], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);
            DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonBordersSelectedByMe2[libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_selectedHeroRow[lv_itViewer]][libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_selectedHeroCol[lv_itViewer]], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);

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

        }

        if ((PlayerGroupHasPlayer(libPVEM_gf_PvEPlayersOnHumanTeam(false), lv_itViewer) == true) && (libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedIn[lv_itViewer] == true) && (libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroRow[lv_itViewer] > 0) && (libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroCol[lv_itViewer] > 0)) {
            DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonBordersLockedByMe1[libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroRow[lv_itViewer]][libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroCol[lv_itViewer]], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);
            DialogControlSetVisible(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_heroButtonBordersLockedByMe2[libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroRow[lv_itViewer]][libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedHeroCol[lv_itViewer]], libCore_gv_playerGroupFromPlayer[lv_itViewer], true);

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

                }
                else if (autoE0B18181_val == libPVEU_ge_PvEUICurateHeroSelectionCellState_PvEUICurateHeroSelectionCellState_Normal) {
                    if ((PlayerGroupHasPlayer(libPVEM_gf_PvEPlayersOnHumanTeam(false), lv_itViewer) == true) && (libPVEU_gv_pvEUICurateHeroSelectionSetting.lv_lockedIn[lv_itViewer] == true)) {
                        libPVEU_gf_PvEUICurateHSUIEnableDisableHeroButton(false, lv_itRow, lv_itCol, libCore_gv_playerGroupFromPlayer[lv_itViewer], true);
                    }

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


    // Implementation
    if ((PlayerGroupHasPlayer(libPVEM_gf_PvEPlayersOnHumanTeam(false), lp_player) == false)) {
        return false;
    }

mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmodbase.stormdata/LibMHPP.galaxy:1895

    // Conditions
    if (testConds) {
        if (!((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), libGame_gf_HeroKilledPlayer()) == true))) {
            return false;
        }

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

        lv_itUnit = UnitGroupUnitFromEnd(auto1F71FD26_g, auto1F71FD26_u);
        if (lv_itUnit == null) { break; }
        if ((PlayerGroupHasPlayer(lv_playersInVac, UnitGetOwner(lv_itUnit)) == false)) {
            PlayerGroupAdd(lv_playersInVac, UnitGetOwner(lv_itUnit));
        }

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

    }
    if ((UnitGetType(lv_sgtHammerCasterUnit) == "SgtHammerBluntForceGunInvisibleOrbitalDummy")) {
        if ((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroupNoNPCPlayers, lv_sgtHammerCasterPlayer) == true)) {
            PathCreateForUnit(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), lv_sgtHammerCasterUnit);
            PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");

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


    if ((UnitGetType(lv_sgtHammerCasterUnit) == "SgtHammerBluntForceGunInvisibleOrbitalDummy")) {
        if ((PlayerGroupHasPlayer(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroupNoNPCPlayers, lv_sgtHammerCasterPlayer) == true)) {
            PathCreateForUnit(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), lv_sgtHammerCasterUnit);
            PathSetLineTexture(PathLastCreated(), c_pathLocationMinimap, "Assets\\Textures\\storm_waypointline.dds");

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

        }

        if ((lv_topDamageTakerPerTeam[libGame_gv_mVPStats[lv_iterator].lv_team] == lv_iterator) && ((PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleTank)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleBruiser)) == true))) {
            libGame_gv_mVPStats[lv_iterator].lv_mVPScore += libGame_gf_GetMVPAwardAmount(libGame_gv_mVPStats[lv_iterator].lv_unitType, libGame_ge_MVPAwards_TopDamageTakenasWarrioronTeam);
            if ((lv_topDamageTakenAmountPerTeam[libGame_gv_mVPStats[lv_iterator].lv_team] > lv_topDamageTakenAmountPerTeam[libGame_gv_mVPStats[lv_iterator].lv_enemyTeam])) {

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

        }

        if ((lv_topDamageTakerPerTeam[libGame_gv_mVPStats[lv_iterator].lv_team] == lv_iterator) && ((PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleTank)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleBruiser)) == true))) {
            libGame_gv_mVPStats[lv_iterator].lv_mVPScore += libGame_gf_GetMVPAwardAmount(libGame_gv_mVPStats[lv_iterator].lv_unitType, libGame_ge_MVPAwards_TopDamageTakenasWarrioronTeam);
            if ((lv_topDamageTakenAmountPerTeam[libGame_gv_mVPStats[lv_iterator].lv_team] > lv_topDamageTakenAmountPerTeam[libGame_gv_mVPStats[lv_iterator].lv_enemyTeam])) {

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

        }

        if (((PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleSupport)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleHealer)) == true)) && (lv_topHealAmount > 0.0)) {
            lv_thoroughputBonus[lv_iterator] += (libGame_gv_thoroughputBonusMultiplier * (libGame_gv_mVPStats[lv_iterator].lv_healAmount / lv_topHealAmount));
        }

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

        }

        if (((PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleSupport)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleHealer)) == true)) && (lv_topHealAmount > 0.0)) {
            lv_thoroughputBonus[lv_iterator] += (libGame_gv_thoroughputBonusMultiplier * (libGame_gv_mVPStats[lv_iterator].lv_healAmount / lv_topHealAmount));
        }

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

        }

        if (((PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleTank)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleBruiser)) == true)) && (lv_topDamageTakenAmountinGame > 0.0)) {
            lv_thoroughputBonus[lv_iterator] += (libGame_gv_thoroughputBonusMultiplier * (libGame_gv_mVPStats[lv_iterator].lv_damageTaken / lv_topDamageTakenAmountinGame) * libGame_gv_thoroughputBonusExtraStatMultiplier);
        }

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

        }

        if (((PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleTank)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[lv_iterator].lv_mvpRoles, (c_expandedRoleBruiser)) == true)) && (lv_topDamageTakenAmountinGame > 0.0)) {
            lv_thoroughputBonus[lv_iterator] += (libGame_gv_thoroughputBonusMultiplier * (libGame_gv_mVPStats[lv_iterator].lv_damageTaken / lv_topDamageTakenAmountinGame) * libGame_gv_thoroughputBonusExtraStatMultiplier);
        }

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

    libGame_gf_BuildInitialSecondaryAwardList();
    libGame_gf_ScoreValuesReportIntegerValueAndLog(libGame_gv_mVPPlayer, "EndOfMatchAwardMVPBoolean", 1);
    if ((lv_topDamageTakerinGame == libGame_gv_mVPPlayer) && ((PlayerGroupHasPlayer(libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_mvpRoles, (c_expandedRoleTank)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_mvpRoles, (c_expandedRoleBruiser)) == true)) && ((((libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_damageTaken * 0.1) / libGame_gv_teamAwardTotalValues[libGame_gf_TeamNumberOfPlayer(libGame_gv_mVPPlayer)][libGame_ge_SecondaryAwards_Bulwark]) * 100.0) > lv_mVPStatThresholdBeforePuttingIntoUISlots) && (lv_mVPStatstoDisplayIterator <= libGame_gv_maxMVPStatSlots)) {
        libGame_gv_mVPStatstoDisplay[lv_mVPStatstoDisplayIterator].lv_mVPStatPriority = libGame_ge_MVPStatPriority_BestinGame;
        libGame_gv_mVPStatstoDisplay[lv_mVPStatstoDisplayIterator].lv_mVPStatLabel = StringExternal("Param/Value/lib_Game_4229130A");

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

    libGame_gf_BuildInitialSecondaryAwardList();
    libGame_gf_ScoreValuesReportIntegerValueAndLog(libGame_gv_mVPPlayer, "EndOfMatchAwardMVPBoolean", 1);
    if ((lv_topDamageTakerinGame == libGame_gv_mVPPlayer) && ((PlayerGroupHasPlayer(libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_mvpRoles, (c_expandedRoleTank)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_mvpRoles, (c_expandedRoleBruiser)) == true)) && ((((libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_damageTaken * 0.1) / libGame_gv_teamAwardTotalValues[libGame_gf_TeamNumberOfPlayer(libGame_gv_mVPPlayer)][libGame_ge_SecondaryAwards_Bulwark]) * 100.0) > lv_mVPStatThresholdBeforePuttingIntoUISlots) && (lv_mVPStatstoDisplayIterator <= libGame_gv_maxMVPStatSlots)) {
        libGame_gv_mVPStatstoDisplay[lv_mVPStatstoDisplayIterator].lv_mVPStatPriority = libGame_ge_MVPStatPriority_BestinGame;
        libGame_gv_mVPStatstoDisplay[lv_mVPStatstoDisplayIterator].lv_mVPStatLabel = StringExternal("Param/Value/lib_Game_4229130A");

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

    }
    else {
        if (((PlayerGroupHasPlayer(libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_mvpRoles, (c_expandedRoleTank)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_mvpRoles, (c_expandedRoleBruiser)) == true)) && ((lv_topDamageTakerPerTeam[1] == libGame_gv_mVPPlayer) || (lv_topDamageTakerPerTeam[2] == libGame_gv_mVPPlayer)) && ((((libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_damageTaken * 0.1) / libGame_gv_teamAwardTotalValues[libGame_gf_TeamNumberOfPlayer(libGame_gv_mVPPlayer)][libGame_ge_SecondaryAwards_Bulwark]) * 100.0) > lv_mVPStatThresholdBeforePuttingIntoUISlots) && (lv_mVPStatstoDisplayIterator <= libGame_gv_maxMVPStatSlots)) {
            libGame_gv_mVPStatstoDisplay[lv_mVPStatstoDisplayIterator].lv_mVPStatPriority = libGame_ge_MVPStatPriority_BestinTeam;
            libGame_gv_mVPStatstoDisplay[lv_mVPStatstoDisplayIterator].lv_mVPStatLabel = StringExternal("Param/Value/lib_Game_6AC097A5");

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

    }
    else {
        if (((PlayerGroupHasPlayer(libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_mvpRoles, (c_expandedRoleTank)) == true) || (PlayerGroupHasPlayer(libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_mvpRoles, (c_expandedRoleBruiser)) == true)) && ((lv_topDamageTakerPerTeam[1] == libGame_gv_mVPPlayer) || (lv_topDamageTakerPerTeam[2] == libGame_gv_mVPPlayer)) && ((((libGame_gv_mVPStats[libGame_gv_mVPPlayer].lv_damageTaken * 0.1) / libGame_gv_teamAwardTotalValues[libGame_gf_TeamNumberOfPlayer(libGame_gv_mVPPlayer)][libGame_ge_SecondaryAwards_Bulwark]) * 100.0) > lv_mVPStatThresholdBeforePuttingIntoUISlots) && (lv_mVPStatstoDisplayIterator <= libGame_gv_maxMVPStatSlots)) {
            libGame_gv_mVPStatstoDisplay[lv_mVPStatstoDisplayIterator].lv_mVPStatPriority = libGame_ge_MVPStatPriority_BestinTeam;
            libGame_gv_mVPStatstoDisplay[lv_mVPStatstoDisplayIterator].lv_mVPStatLabel = StringExternal("Param/Value/lib_Game_6AC097A5");

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

        	lv_itPlayer = PlayerGroupNextPlayer(auto2201786C_g, lv_itPlayer);
        	if (lv_itPlayer<0) { break; }
        	if ((PlayerGroupHasPlayer(lp_group2, lv_itPlayer) == true)) {
            return true;
        }

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

    }

    if ((PlayerGroupHasPlayer(lp_toPlayers, libCore_gv_oBSERVER_ObserverUIPlayer) == true)) {
        return libCore_gv_oBSERVER_ObserverUIPlayer;
    }

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

    if ((lv_portrait != c_invalidPortraitId)) {
        if ((lp_unit != null)) {
            if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, true), UnitGetOwner(lp_unit)) == true)) {
                PortraitSetTeamColor(lv_portrait, libNtve_gf_ConvertPlayerColorToColor(2));
            }

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

                PortraitSetTeamColor(lv_portrait, libNtve_gf_ConvertPlayerColorToColor(2));
            }
            else if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, true), UnitGetOwner(lp_unit)) == true)) {
                PortraitSetTeamColor(lv_portrait, libNtve_gf_ConvertPlayerColorToColor(1));
            }

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

    if ((lv_portrait != c_invalidPortraitId)) {
        if ((lp_unit != null)) {
            if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, true), UnitGetOwner(lp_unit)) == true)) {
                PortraitSetTeamColor(lv_portrait, libNtve_gf_ConvertPlayerColorToColor(2));
            }

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

                PortraitSetTeamColor(lv_portrait, libNtve_gf_ConvertPlayerColorToColor(2));
            }
            else if ((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, true), UnitGetOwner(lp_unit)) == true)) {
                PortraitSetTeamColor(lv_portrait, libNtve_gf_ConvertPlayerColorToColor(1));
            }

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

        	lv_p = PlayerGroupNextPlayer(autoA43C1C70_g, lv_p);
        	if (lv_p<0) { break; }
        	if ((PlayerGroupHasPlayer(libCore_gv_activeHumanPlayers, lv_p) == true)) {
            if ((libMapM_gv_mapMechanicUsedTracker[lv_p].lv_dragonStatue == true)) {
                TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagAllyOwned, libCore_gv_playerGroupFromPlayer[lv_p], false);

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

        	lv_p = PlayerGroupNextPlayer(auto6728DB37_g, lv_p);
        	if (lv_p<0) { break; }
        	if ((PlayerGroupHasPlayer(libCore_gv_activeHumanPlayers, lv_p) == true)) {
            if ((libMapM_gv_mapMechanicUsedTracker[lv_p].lv_dragonStatue == true)) {
                TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagEnemyOwned, libCore_gv_playerGroupFromPlayer[lv_p], false);

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

    lv_i_Player = 1;
    for ( ; lv_i_Player <= auto5DE6BA42_ae ; lv_i_Player += 1 ) {
        if ((PlayerGroupHasPlayer(PlayerGroupActive(), lv_i_Player) == true)) {
            DialogControlHookup(lv_killFrame, c_triggerControlTypeButton, libNtve_gf_ConvertStringToUILayoutFrameName(("Button" + IntToString(lv_i_Player))));
            DialogControlSetEnabled(DialogControlLastCreated(), PlayerGroupAll(), true);

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:743

    // Automatic Variable Declarations
    // Implementation
    if (((libGame_gv_gameOver == true) || (libMSC2_gv_mMSC2GlobalConversationPlaying == true) || (PlayerGroupHasPlayer(libMSC2_gv_mMSC2VOSoundPlaying, lp_player) == true))) {
        return true;
    }

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:842


    // Implementation
    if (((libGame_gv_gameOver == true) || (libMSC2_gv_mMSC2GlobalConversationPlaying == true) || (PlayerGroupHasPlayer(libMSC2_gv_mMSC2VOSoundPlaying, lp_player) == true))) {
        return true;
    }

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:887


    // Implementation
    if (((libGame_gv_gameOver == true) || (libMSC2_gv_mMSC2GlobalConversationPlaying == true) || (PlayerGroupHasPlayer(libMSC2_gv_mMSC2VOSoundPlaying, lp_player) == true))) {
        return true;
    }

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:958

    lv_groupEnemies = libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false);
    lv_observers = libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer];
    if ((PlayerGroupHasPlayer(libMSC2_gv_mMSC2VOSoundPlaying, lp_player) == false)) {
        lv_randomInt = RandomInt(1, 4);
        autoF561B23D_val = lv_randomInt;

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:982

        	lv_itPlayer = PlayerGroupNextPlayer(auto6C8DC4A2_g, lv_itPlayer);
        	if (lv_itPlayer<0) { break; }
        	if ((PlayerGroupHasPlayer(libMSC2_gv_mMSC2VOSoundPlaying, lv_itPlayer) == false)) {
            lv_randomInt = RandomInt(1, 4);
            auto77E832DC_val = lv_randomInt;

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:1007

        	lv_itPlayer = PlayerGroupNextPlayer(auto449A52E7_g, lv_itPlayer);
        	if (lv_itPlayer<0) { break; }
        	if ((PlayerGroupHasPlayer(libMSC2_gv_mMSC2VOSoundPlaying, lv_itPlayer) == false)) {
            lv_randomInt = RandomInt(1, 2);
            if ((lv_team == libGame_gv_teamOrderIndex_C)) {

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:1353

        lv_heroUnitType = (libGame_gv_players[lv_itPlayerNuke].lv_heroData.lv_unitType);
        libNtve_gf_SetDialogItemImage(libMSC2_gv_mMSC2UIPanel.lv_ravenCourtCurseTimerLabel5[lv_itImageIndex], (CatalogFieldValueGet(c_gameCatalogActor, lv_heroUnitType, "MinimapIcon", c_playerAny)), libCore_gv_playerGroupFromPlayer[lp_player]);
        if (((PlayerGroupHasPlayer(libGame_gf_PlayersOnTeamHeroes(lv_nukeTeam, false), lp_player) == true) || ((lp_player == libCore_gv_oBSERVER_ObserverUIPlayer) && (lv_nukeTeam == libGame_gv_teamOrderIndex_C)))) {
            libNtve_gf_SetDialogItemColor(libMSC2_gv_mMSC2UIPanel.lv_ravenCourtCurseTimerLabel4[lv_itImageIndex], Color(0.00, 100.00, 0.00), libCore_gv_playerGroupFromPlayer[lp_player]);
        }

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

            lv_computerPlayer = PlayerGroupNextPlayer(autoC94FE865_g, lv_computerPlayer);
            if (lv_computerPlayer < 0) { break; }
            if ((PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersAnswered[lv_humanPlayer], lv_computerPlayer) == false)) {
                DialogSetPosition(libLbty_gv_meleeSurrender_Dialog[lv_computerPlayer], c_anchorTopRight, 10, lv_y);
                lv_y += 200;

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

    // Conditions
    if (testConds) {
        if (!((PlayerGroupHasPlayer(libLbty_gv_pingValidPlayers, EventPlayer()) == true))) {
            return false;
        }

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

        if (lv_player < 0) { break; }
        if ((PlayerType(lv_player) == c_playerTypeComputer) && (AIIsCampaign(lv_player) == false)) {
            if ((AIGivingUp(lv_player) == true) && (PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player) == false) && (PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersTried, lv_player) == false)) {
                libLbty_gf_MeleeSurrender_AIWantToSurrender(lv_player);
            }

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

        if (lv_player < 0) { break; }
        if ((PlayerType(lv_player) == c_playerTypeComputer) && (AIIsCampaign(lv_player) == false)) {
            if ((AIGivingUp(lv_player) == true) && (PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player) == false) && (PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersTried, lv_player) == false)) {
                libLbty_gf_MeleeSurrender_AIWantToSurrender(lv_player);
            }

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

        }

        if ((PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player) == true) && ((PlayerStatus(lv_player) != c_playerStatusActive) || (AIGivingUp(lv_player) == false))) {
            PlayerGroupRemove(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player);
            DialogDestroy(libLbty_gv_meleeSurrender_Dialog[lv_player]);

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

    lv_player = libLbty_gv_meleeSurrender_FlashingPlayer;
    for (auto9A1B90A5_i = 1; auto9A1B90A5_i <= auto9A1B90A5_n; auto9A1B90A5_i += 1) {
        if ((PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player) == false)) {
            return true;
        }

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

        libNtve_gf_SetDialogItemStyle(libLbty_gv_meleeSurrender_Title[lv_player], "AISurrenderTitle", PlayerGroupAll());
        Wait(0.6, c_timeReal);
        if ((PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player) == false)) {
            return true;
        }

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

        Wait(0.6, c_timeReal);
    }
    if ((PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player) == true)) {
        libNtve_gf_SetDialogItemStyle(libLbty_gv_meleeSurrender_Title[lv_player], "AISurrenderTitle", PlayerGroupAll());
    }

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

                if ((lv_unitCount > 0)) {
                    lv_player = PlayerGroupPlayer(lv_attackingPlayers, lv_playerIter);
                    if ((PlayerGroupHasPlayer(libCOMI_gf_CM_CoopAI_AttackForce_GetExcludedPlayers(lv_unitTypeIter), lv_player) == false)) {
                        UnitCreate(1, lv_unitTypeToCreate, 0, lv_player, lp_spawnLocation, libNtve_gf_RandomAngle());
                        auto514B4646_val = lv_unitTypeToCreate;

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

                if ((lv_unitCount > 0)) {
                    lv_player = PlayerGroupPlayer(lv_attackingPlayers, lv_playerIter);
                    if ((PlayerGroupHasPlayer(libCOMI_gf_CM_CoopAI_AttackForce_GetExcludedPlayers(lv_unitTypeIter), lv_player) == false)) {
                        if ((libCOMI_gf_UnitMoverExists(lv_unitTypeToCreate, "Fly") == false)) {
                            if (((lv_transportCurrent[lv_playerIter] == null) || ((UnitCargoValue(lv_transportCurrent[lv_playerIter], c_unitCargoSpaceFree) * 0.75) < (CatalogFieldValueGetAsInt(c_gameCatalogUnit, lv_unitTypeToCreate, "CargoSize", lv_player) + 1)))) {

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

    // Implementation
    libNtve_gf_SetAlliance(lp_sourcePlayer, lp_targetPlayer, lp_alliance);
    if ((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_sourcePlayer) == true) && (PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_targetPlayer) == false)) {
        lv_humanPlayer = lp_sourcePlayer;
        lv_aIPlayer = lp_targetPlayer;

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

    // Implementation
    libNtve_gf_SetAlliance(lp_sourcePlayer, lp_targetPlayer, lp_alliance);
    if ((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_sourcePlayer) == true) && (PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_targetPlayer) == false)) {
        lv_humanPlayer = lp_sourcePlayer;
        lv_aIPlayer = lp_targetPlayer;

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

        lv_aIPlayer = lp_targetPlayer;
    }
    else if ((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_sourcePlayer) == false) && (PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_targetPlayer) == true)) {
        lv_humanPlayer = lp_targetPlayer;
        lv_aIPlayer = lp_sourcePlayer;

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

        lv_aIPlayer = lp_targetPlayer;
    }
    else if ((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_sourcePlayer) == false) && (PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_targetPlayer) == true)) {
        lv_humanPlayer = lp_targetPlayer;
        lv_aIPlayer = lp_sourcePlayer;

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

    }

    if ((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_inSourcePlayer) == false) && (PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_inTargetPlayer) == true)) {
        if ((lp_ally == true)) {
            PlayerGroupAdd(libCOMI_gv_cM_SharedVisionPlayers[lp_inTargetPlayer], lp_inSourcePlayer);

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

    }

    if ((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_inSourcePlayer) == false) && (PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), lp_inTargetPlayer) == true)) {
        if ((lp_ally == true)) {
            PlayerGroupAdd(libCOMI_gv_cM_SharedVisionPlayers[lp_inTargetPlayer], lp_inSourcePlayer);

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

        if (auto11F928C9_val == "Terr") {
            PlayerGroupAdd(lv_terranPlayers, lv_indexPlayer);
            if ((PlayerGroupHasPlayer(libCOMI_gv_cM_TransmissionPrimaryPlayers, lv_indexPlayer) == true)) {
                PlayerGroupAdd(lv_primaryTerranPlayers, lv_indexPlayer);
            }

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

            }

            if ((PlayerGroupHasPlayer(libCOMI_gv_cM_TransmissionSecondaryPlayers, lv_indexPlayer) == true)) {
                PlayerGroupAdd(lv_secondaryTerranPlayers, lv_indexPlayer);
            }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:424

    // Automatic Variable Declarations
    // Implementation
    if (((libCOMU_gf_MutatorIsEnabled("AllEnemiesCloaked") == false) || (UnitGetOwner(lp_createdUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_createdUnit)) == false) || (UnitFilterMatch(lp_createdUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterDestructible), (1 << (c_targetFilterDead - 32)))) == false) || (UnitGetType(lp_createdUnit) == "MutatorStormCloud") || (UnitGetType(lp_createdUnit) == "MutatorTornado") || (UnitGetType(lp_createdUnit) == "VoidThrasher"))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:440

    // Implementation
    lv_createdUnitType = UnitGetType(lp_createdUnit);
    if (((libCOMU_gf_MutatorIsEnabled("UnitSpeed") == false) || (UnitGetOwner(lp_createdUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_createdUnit)) == false) || (UnitFilterMatch(lp_createdUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)))) == false) || (lv_createdUnitType == "Caboose") || (lv_createdUnitType == "TarsonisEngineFast") || (lv_createdUnitType == "TarsonisEngine") || (lv_createdUnitType == "FreightCar") || (lv_createdUnitType == "ProtossFrigate") || (lv_createdUnitType == "MutatorStormCloud") || (lv_createdUnitType == "MutatorPurifierBeam") || (lv_createdUnitType == "MutatorTornado") || (UnitGetPropertyFixed(lp_createdUnit, c_unitPropBaseMovementSpeed, c_unitPropCurrent) == 0.0) || (UnitGetPropertyFixed(lp_createdUnit, c_unitPropBaseMovementSpeed, c_unitPropCurrent) > 5.5))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:456


    // Implementation
    if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickHardenedWill)] == false) || (UnitGetOwner(lp_createdUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_createdUnit)) == false) || (UnitFilterMatch(lp_createdUnit, 1, UnitFilter((1 << c_targetFilterHeroic), 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)))) == false))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:471


    // Implementation
    if (((libCOMU_gf_MutatorIsEnabled("Inspiration") == false) || (UnitGetOwner(lp_createdUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_createdUnit)) == false) || (UnitFilterMatch(lp_createdUnit, 1, UnitFilter((1 << c_targetFilterHeroic), 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)))) == false))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:501


    // Implementation
    if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickAlienIncubation)] == false) || (UnitGetOwner(lp_killedUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_killedUnit)) == false) || (UnitFilterMatch(lp_killedUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32)))) == false) || (UnitGroupHasUnit(libCOMU_gv_cT_OnDeathSpawns, lp_killedUnit) == true) || (UnitGetType(lp_killedUnit) == "TerranDropPod") || (UnitGetType(lp_killedUnit) == "ZergDropPodLarge") || (UnitGetType(lp_killedUnit) == "ZergDropPod"))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:523


    // Implementation
    if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickWalkingInfested)] == false) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_killedUnit)) == false) || (UnitGetOwner(lp_killedUnit) == c_playerAny) || (UnitFilterMatch(lp_killedUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32)))) == false) || (UnitGroupHasUnit(libCOMU_gv_cT_OnDeathSpawns, lp_killedUnit) == true) || (libNtve_gf_KillingPlayer() == UnitGetOwner(lp_killedUnit)) || (UnitGetType(lp_killedUnit) == "TerranDropPod") || (UnitGetType(lp_killedUnit) == "ZergDropPodLarge") || (UnitGetType(lp_killedUnit) == "ZergDropPod") || (PathingType(UnitGetPosition(lp_killedUnit)) != c_pathingGround))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:548


    // Implementation
    if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickSelfDestruction)] == false) || (UnitGetOwner(lp_killedUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_killedUnit)) == false) || (UnitFilterMatch(lp_killedUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)))) == false) || (UnitGetType(lp_killedUnit) == "TerranDropPod") || (UnitGetType(lp_killedUnit) == "ZergDropPodLarge") || (UnitGetType(lp_killedUnit) == "ZergDropPod"))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:584


    // Implementation
    if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickFireworks)] == false) || (UnitGetOwner(lp_killedUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_killedUnit)) == false) || (UnitFilterMatch(lp_killedUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)))) == false) || (UnitGetType(lp_killedUnit) == "TerranDropPod") || (UnitGetType(lp_killedUnit) == "ZergDropPodLarge") || (UnitGetType(lp_killedUnit) == "ZergDropPod"))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:627


    // Implementation
    if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickHybridNuke)] == false) || (UnitGetOwner(lp_killedUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_killedUnit)) == false) || (UnitFilterMatch(lp_killedUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)))) == false))) {
        return ;
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:659


    // Implementation
    if (((libCOMU_gv_cT_MutatorEnabledQuickList[(libCOMU_ge_CT_MutatorQuickList_CT_QuickDeathFire)] == false) || (libCOMU_gf_MutatorIsEnabled("FireFight") == false) || (UnitGetOwner(lp_killedUnit) == c_playerAny) || (PlayerGroupHasPlayer(PlayerGroupAlliance(c_playerGroupEnemy, 1), UnitGetOwner(lp_killedUnit)) == false) || (UnitFilterMatch(lp_killedUnit, 1, UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)))) == false) || (UnitGetType(lp_killedUnit) == "AdeptPhaseShift") || (UnitGetType(lp_killedUnit) == "DisruptorPhased"))) {
        return ;
    }