# Allies/Enemies Of Player (Count Inactive And Self)

Grammaralliance|Allies/Enemies of player player
FlagsFunction

Returns all players that are considered allies or enemies, determined by the Alliance parameter, of the specified player. (Count inactive players, and the player itself would be count as a ally)

# Arguments

Returns — playergroup

playergroup libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(
	int lp_alliance,
	int lp_player,
);

Category: Player Group / Useful Player Groups

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L12313
libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(libNtve_ge_PlayerRelation_AllyMutual,autoD1FA3909_itPlayer)
// L30046
libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(libNtve_ge_PlayerRelation_AllyMutual,auto62F6BACF_itPlayer)

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L1085
libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(libNtve_ge_PlayerRelation_Ally, 1)

# mods/starcoop/starcoop.sc2mod

LibCOOC.galaxy

// L5301
libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(libNtve_ge_PlayerRelation_AllyMutual, lp_player)