# Set Alliance For Player Group

Grammar — Make all players in players|Player Group treat each other as alliance
FlagsAction

Changes alliance settings for all players in the player group. Each player applies the requested alliance setting to every other player in the player group. Pushable means that one player*“s units are allowed to push another player”*s units out of the way if they are trying to path through them.

# Arguments

  • playergroup — Players
  • int<preset::AllianceSetting> — Alliance Setting

Returns — void

void libNtve_gf_SetPlayerGroupAlliance(
	playergroup lp_players,
	int lp_alliance,
);

Category: Player / Alliances

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:960

    PlayerGroupAdd(lv_allZerg, gv_p07_ZERG_INFESTED);
    PlayerGroupAdd(lv_allZerg, gv_p08_ZERG_SOUTH);
    libNtve_gf_SetPlayerGroupAlliance(lv_allZerg, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndControl);
    libNtve_gf_SetAlliance(gv_p05_COLONIST, gv_p02_ZERG_EAST, libNtve_ge_AllianceSetting_Neutral);
    libNtve_gf_SetAlliance(gv_p05_COLONIST, gv_p03_VIROPHAGE, libNtve_ge_AllianceSetting_Neutral);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:833

    PlayerGroupAdd(gv_dominionPlayers, gv_p05_DOMINION_RAIDER);
    PlayerGroupAdd(gv_dominionPlayers, gv_p08_DOMINION);
    libNtve_gf_SetPlayerGroupAlliance(gv_dominionPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetAlliance(gv_p01_USER, gv_p06_CIVILIANS, libNtve_ge_AllianceSetting_Neutral);
    libNtve_gf_SetAlliance(gv_p01_USER, gv_p07_HORNERBASE, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:775

    libNtve_gf_SetAlliance(gv_pLAYER_USER, gv_pLAYER_ZERG_EAST, libNtve_ge_AllianceSetting_Enemy);
    libNtve_gf_SetAlliance(gv_pLAYER_USER, gv_pLAYER_ZERG_SPECIAL, libNtve_ge_AllianceSetting_Enemy);
    libNtve_gf_SetPlayerGroupAlliance(gv_zergPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 1200);
    PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 1000);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:960

    PlayerGroupAdd(lv_allZerg, gv_p07_ZERG_INFESTED);
    PlayerGroupAdd(lv_allZerg, gv_p08_ZERG_SOUTH);
    libNtve_gf_SetPlayerGroupAlliance(lv_allZerg, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndControl);
    libNtve_gf_SetAlliance(gv_p05_COLONIST, gv_p02_ZERG_EAST, libNtve_ge_AllianceSetting_Neutral);
    libNtve_gf_SetAlliance(gv_p05_COLONIST, gv_p03_VIROPHAGE, libNtve_ge_AllianceSetting_Neutral);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:833

    PlayerGroupAdd(gv_dominionPlayers, gv_p05_DOMINION_RAIDER);
    PlayerGroupAdd(gv_dominionPlayers, gv_p08_DOMINION);
    libNtve_gf_SetPlayerGroupAlliance(gv_dominionPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetAlliance(gv_p01_USER, gv_p06_CIVILIANS, libNtve_ge_AllianceSetting_Neutral);
    libNtve_gf_SetAlliance(gv_p01_USER, gv_p07_HORNERBASE, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:775

    libNtve_gf_SetAlliance(gv_pLAYER_USER, gv_pLAYER_ZERG_EAST, libNtve_ge_AllianceSetting_Enemy);
    libNtve_gf_SetAlliance(gv_pLAYER_USER, gv_pLAYER_ZERG_SPECIAL, libNtve_ge_AllianceSetting_Enemy);
    libNtve_gf_SetPlayerGroupAlliance(gv_zergPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 1200);
    PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 1000);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:795

    PlayerGroupAdd(gv_dominionPlayers, gv_pLAYER_03_DOMINION_AI);
    PlayerGroupAdd(gv_dominionPlayers, gv_pLAYER_04_DOMINION_CLEANSERS);
    libNtve_gf_SetPlayerGroupAlliance(gv_dominionPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    auto8185E5E7_g = gv_dominionPlayers;
    auto8185E5E7_var = -1;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:784

    PlayerGroupAdd(gv_dominionPlayerGroup, gv_PLAYER_05_DOMINION_TEAL);
    PlayerGroupAdd(gv_dominionPlayerGroup, gv_PLAYER_07_DOMINION_GREEN23);
    libNtve_gf_SetPlayerGroupAlliance(gv_dominionPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    PlayerModifyPropertyInt(gv_PLAYER_01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 350);
    PlayerModifyPropertyInt(gv_PLAYER_01_USER, c_playerPropVespene, c_playerPropOperSetTo, 250);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:842

        libNtve_gf_SetAlliance(gv_pLAYER_11_MOEBIUS_BRIDGECONTROL, auto5C17E54C_var, libNtve_ge_AllianceSetting_Neutral);
    }
    libNtve_gf_SetPlayerGroupAlliance(gv_moebiusPlayerGroup, libNtve_ge_AllianceSetting_Neutral);
    auto1C6444B9_g = gv_swarmPlayerGroup;
    auto1C6444B9_var = -1;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:853

        libNtve_gf_SetAlliance(gv_pLAYER_11_MOEBIUS_BRIDGECONTROL, auto1C6444B9_var, libNtve_ge_AllianceSetting_Neutral);
    }
    libNtve_gf_SetPlayerGroupAlliance(gv_swarmPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_09_MOEBIUS_FINALAREA, libNtve_ge_AllianceSetting_Enemy);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_10_PROTOSS_CAPTIVES, libNtve_ge_AllianceSetting_Ally);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:1066

    PlayerGroupAdd(gv_enemyPlayerGroup, gv_pLAYER_06_TALDARIM);
    PlayerGroupAdd(gv_enemyPlayerGroup, gv_pLAYER_07_TEMPLE);
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    auto177D770E_g = gv_enemyPlayerGroup;
    auto177D770E_var = -1;

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2mapMapScript.galaxy:795

    PlayerGroupAdd(gv_dominionPlayers, gv_pLAYER_03_DOMINION_AI);
    PlayerGroupAdd(gv_dominionPlayers, gv_pLAYER_04_DOMINION_CLEANSERS);
    libNtve_gf_SetPlayerGroupAlliance(gv_dominionPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    auto8185E5E7_g = gv_dominionPlayers;
    auto8185E5E7_var = -1;

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2mapMapScript.galaxy:784

    PlayerGroupAdd(gv_dominionPlayerGroup, gv_PLAYER_05_DOMINION_TEAL);
    PlayerGroupAdd(gv_dominionPlayerGroup, gv_PLAYER_07_DOMINION_GREEN23);
    libNtve_gf_SetPlayerGroupAlliance(gv_dominionPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    PlayerModifyPropertyInt(gv_PLAYER_01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 350);
    PlayerModifyPropertyInt(gv_PLAYER_01_USER, c_playerPropVespene, c_playerPropOperSetTo, 250);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2mapMapScript.galaxy:842

        libNtve_gf_SetAlliance(gv_pLAYER_11_MOEBIUS_BRIDGECONTROL, auto5C17E54C_var, libNtve_ge_AllianceSetting_Neutral);
    }
    libNtve_gf_SetPlayerGroupAlliance(gv_moebiusPlayerGroup, libNtve_ge_AllianceSetting_Neutral);
    auto1C6444B9_g = gv_swarmPlayerGroup;
    auto1C6444B9_var = -1;

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2mapMapScript.galaxy:853

        libNtve_gf_SetAlliance(gv_pLAYER_11_MOEBIUS_BRIDGECONTROL, auto1C6444B9_var, libNtve_ge_AllianceSetting_Neutral);
    }
    libNtve_gf_SetPlayerGroupAlliance(gv_swarmPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_09_MOEBIUS_FINALAREA, libNtve_ge_AllianceSetting_Enemy);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_10_PROTOSS_CAPTIVES, libNtve_ge_AllianceSetting_Ally);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2mapMapScript.galaxy:1066

    PlayerGroupAdd(gv_enemyPlayerGroup, gv_pLAYER_06_TALDARIM);
    PlayerGroupAdd(gv_enemyPlayerGroup, gv_pLAYER_07_TEMPLE);
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    auto177D770E_g = gv_enemyPlayerGroup;
    auto177D770E_var = -1;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:1201

    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_08_NERAZIM, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_09_PURIFIER, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(gv_friendlyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    auto72BCC57E_g = gv_enemyPlayerGroup;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:1202

    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_09_PURIFIER, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(gv_friendlyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    auto72BCC57E_g = gv_enemyPlayerGroup;
    auto72BCC57E_var = -1;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:737

    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_02_DOMINION9, libNtve_ge_AllianceSetting_Neutral);
    libNtve_gf_SetUpgradeLevelForPlayer(gv_pLAYER_01_USER, "HeroicShieldCleanUp", 1);
    libNtve_gf_SetPlayerGroupAlliance(gv_dominionGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_02_DOMINION, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_02_DOMINION2, libNtve_ge_AllianceSetting_Ally);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:756

        PlayerSetState(auto781CE6EB_var, c_playerStateFoodIgnored, true);
    }
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    autoB2241722_g = gv_shadowCorpsNorthPlayers;
    autoB2241722_var = -1;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ptaldarim01.sc2map/MapScript.galaxy:868

    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_06_VOIDRAY, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_11_MOTHERSHIPS, libNtve_ge_AllianceSetting_Enemy);
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    autoC88D8FED_g = gv_enemyPlayerGroup;
    autoC88D8FED_var = -1;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:1201

    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_08_NERAZIM, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_09_PURIFIER, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(gv_friendlyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    auto72BCC57E_g = gv_enemyPlayerGroup;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2mapMapScript.galaxy:1202

    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_09_PURIFIER, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(gv_friendlyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    auto72BCC57E_g = gv_enemyPlayerGroup;
    auto72BCC57E_var = -1;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal02.sc2mapMapScript.galaxy:737

    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_02_DOMINION9, libNtve_ge_AllianceSetting_Neutral);
    libNtve_gf_SetUpgradeLevelForPlayer(gv_pLAYER_01_USER, "HeroicShieldCleanUp", 1);
    libNtve_gf_SetPlayerGroupAlliance(gv_dominionGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_02_DOMINION, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_02_DOMINION2, libNtve_ge_AllianceSetting_Ally);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal02.sc2mapMapScript.galaxy:756

        PlayerSetState(auto781CE6EB_var, c_playerStateFoodIgnored, true);
    }
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    autoB2241722_g = gv_shadowCorpsNorthPlayers;
    autoB2241722_var = -1;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ptaldarim01.sc2mapMapScript.galaxy:868

    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_06_VOIDRAY, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_11_MOTHERSHIPS, libNtve_ge_AllianceSetting_Enemy);
    libNtve_gf_SetPlayerGroupAlliance(gv_enemyPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    autoC88D8FED_g = gv_enemyPlayerGroup;
    autoC88D8FED_var = -1;

mods/frontiers.sc2modbase.sc2data/Lib6CB3363F.galaxy:345

    PlayerGroupAdd(lib6CB3363F_gv_fT_PlayerGroup, 3);
    PlayerGroupAdd(lib6CB3363F_gv_fT_PlayerGroup, 4);
    libNtve_gf_SetPlayerGroupAlliance(lib6CB3363F_gv_fT_PlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    UISetSelectionTypeEnabled(PlayerGroupAll(), c_localSelectionTypeUnknown, false);
    UISetDragSelectEnabled(PlayerGroupAll(), false);

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

    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, 4);
    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, 5);
    libNtve_gf_SetPlayerGroupAlliance(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    auto8E1D000F_g = libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup;
    auto8E1D000F_var = -1;

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

    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, 4);
    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, 5);
    libNtve_gf_SetPlayerGroupAlliance(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    auto17EA1260_g = libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup;
    auto17EA1260_var = -1;

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

    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, 4);
    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, 5);
    libNtve_gf_SetPlayerGroupAlliance(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    auto32C22853_g = libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup;
    auto32C22853_var = -1;

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

    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, 4);
    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, 5);
    libNtve_gf_SetPlayerGroupAlliance(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    auto2BE53B1A_g = libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup;
    auto2BE53B1A_var = -1;

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

    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, libCore_gv_cOMPUTER_TeamOrder);
    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, libCore_gv_cOMPUTER_TeamChaos);
    libNtve_gf_SetPlayerGroupAlliance(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    libNtve_gf_SetPlayerGroupAlliance(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    auto4A2D4B90_g = libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup;

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

    PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, libCore_gv_cOMPUTER_TeamChaos);
    libNtve_gf_SetPlayerGroupAlliance(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    libNtve_gf_SetPlayerGroupAlliance(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    auto4A2D4B90_g = libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup;
    auto4A2D4B90_var = -1;

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

        if(PlayerGroupCount(autoD1FA3909_itTestPool)){
            lv_itPlayerGroup = autoD1FA3909_itTestPool;
            libNtve_gf_SetPlayerGroupAlliance(lv_itPlayerGroup, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
            auto72F1BEA2_g = lv_itPlayerGroup;
            lv_indexPlayer = -1;

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

    lv_index = 0;
    for ( ; ( (auto96CB44EA_ai >= 0 && lv_index <= auto96CB44EA_ae) || (auto96CB44EA_ai < 0 && lv_index >= auto96CB44EA_ae) ) ; lv_index += auto96CB44EA_ai ) {
        libNtve_gf_SetPlayerGroupAlliance(libCOMI_gv_coopPresetTeams[lv_index], libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    }
}

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

    libWCdr_gv_legends.lv_enemyPlayers = PlayerGroupCopy(lp_enemyPlayers);
    libWCdr_gv_legends.lv_debugModeIsOn = (GameIsOnline() == false);
    libNtve_gf_SetPlayerGroupAlliance(lp_legendPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(lp_allyPlayers, libNtve_ge_AllianceSetting_Ally);
    libNtve_gf_SetPlayerGroupAlliance(lp_enemyPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVision);

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

    libWCdr_gv_legends.lv_debugModeIsOn = (GameIsOnline() == false);
    libNtve_gf_SetPlayerGroupAlliance(lp_legendPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(lp_allyPlayers, libNtve_ge_AllianceSetting_Ally);
    libNtve_gf_SetPlayerGroupAlliance(lp_enemyPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    libNtve_gf_SetAllianceBetweenTwoPlayerGroups(lp_legendPlayers, lp_allyPlayers, libNtve_ge_AllianceSetting_Ally);

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

    libNtve_gf_SetPlayerGroupAlliance(lp_legendPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVisionAndPushable);
    libNtve_gf_SetPlayerGroupAlliance(lp_allyPlayers, libNtve_ge_AllianceSetting_Ally);
    libNtve_gf_SetPlayerGroupAlliance(lp_enemyPlayers, libNtve_ge_AllianceSetting_AllyWithSharedVision);
    libNtve_gf_SetAllianceBetweenTwoPlayerGroups(lp_legendPlayers, lp_allyPlayers, libNtve_ge_AllianceSetting_Ally);
    libNtve_gf_SetAllianceBetweenTwoPlayerGroups(lp_allyPlayers, lp_legendPlayers, libNtve_ge_AllianceSetting_Ally);