# Set Alliance Aspect For Player Group

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

Changes alliance aspect settings for all players in the player group. Each player applies the requested alliance aspect setting to every other player in the player group.

# Arguments

Returns — void

void libNtve_gf_SetAllianceAspectForPlayerGroup(
	playergroup lp_players,
	int lp_inAllianceId,
	bool lp_ally,
);

Category: Player / Alliances

# Examples

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


            }
            libNtve_gf_SetAllianceAspectForPlayerGroup(lv_itPlayerGroup, c_allianceIdDefeat, true);
        }
    }

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

        if(PlayerGroupCount(auto62F6BACF_itTestPool)){
            lv_itPlayerGroup = auto62F6BACF_itTestPool;
            libNtve_gf_SetAllianceAspectForPlayerGroup(lv_itPlayerGroup, c_allianceIdPower, true);
        }
    }