# Allies/Enemies Of Player
Grammar — alliance|Allies/Enemies of player player
Flags —Native
|Function
Returns all players that are considered allies or enemies, determined by the Alliance parameter, of the specified player.
# Arguments
int
<preset::PlayerAlliance> — Allianceint
— Player
Returns — playergroup
native playergroup PlayerGroupAlliance(
int inType,
int inPlayer,
);
# Related
Category: Player Group / Useful Player Groups
- All Players —
playergroup
— PlayerGroupAll - Empty Player Group —
playergroup
— PlayerGroupEmpty - Active Players —
playergroup
— PlayerGroupActive - Allies/Enemies Of Player —
playergroup
— PlayerGroupAlliance - Allies/Enemies Of Player (Count Inactive And Self) —
playergroup
— libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf - Convert Player To Player Group —
playergroup
— PlayerGroupSingle
# Examples
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1748
libAMGT_gv_aRMGardenLastClearedTerrorIndex[2] = libAMGT_gv_aRMGardenLastClearedTerrorIndex[1];
libAMGT_gv_aRMGardenLastClearedTerrorIndex[1] = lv_diedTerrorIndex;
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventWon", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupAlly, libNtve_gf_KillingPlayer()), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventLost", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupEnemy, libNtve_gf_KillingPlayer()), 100.0, 0.0);
libAMGT_gf_ARMGardenTerrorDropsSeeds(EventUnit());
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1749
libAMGT_gv_aRMGardenLastClearedTerrorIndex[1] = lv_diedTerrorIndex;
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventWon", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupAlly, libNtve_gf_KillingPlayer()), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventLost", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupEnemy, libNtve_gf_KillingPlayer()), 100.0, 0.0);
libAMGT_gf_ARMGardenTerrorDropsSeeds(EventUnit());
libAMGT_gf_ARMGardenDropSeeds(UnitGetPosition(EventUnit()), libAMGT_gv_aRMGardenSeedsTerrorFinalDrop_C, true);
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:1815
libAMPU_gv_aRMPunisherPunishers[lv_deadTeam].lv_unit = null;
libAMPU_gv_aRMPunisherPunisherRespawning = true;
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventLost", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupAlly, lv_player), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventWon", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupEnemy, lv_player), 100.0, 0.0);
return true;
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:1816
libAMPU_gv_aRMPunisherPunisherRespawning = true;
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventLost", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupAlly, lv_player), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("ArenaMode_Crowd_Cheer_EventWon", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupEnemy, lv_player), 100.0, 0.0);
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:563
if ((PlayerStatus(lp_player) == c_playerStatusActive) && (PlayerType(lp_player) == c_playerTypeUser)) {
TextExpressionSetToken("Param/Expression/lib_Game_9D7B4265", "A", PlayerName(lp_player));
UIDisplayMessage(PlayerGroupAlliance(c_playerGroupAlly, lp_player), c_messageAreaSubtitle, TextExpressionAssemble("Param/Expression/lib_Game_9D7B4265"));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:9438
}
libGame_gf_AwardXPForNPCKill(lp_minionUnit, lv_minionOwner, lv_unitAttribute, lp_killingPlayer, libCore_gf_DataXPXPForMinion(lp_killXP, PlayerGroupPlayer(PlayerGroupAlliance(c_playerGroupAlly, lp_killingPlayer), 1), lp_minionUnit));
if (((lp_killingPlayer >= 1) && (lp_killingPlayer <= libCore_gv_bALMaxPlayers))) {
libGame_gv_scoreValues[lp_killingPlayer].lv_minionKills += 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:10493
libNtve_gf_SendActorMessageToUnit(lv_itUnit, "Signal LevelUp");
SoundPlayOnUnit(SoundLink("UI_Game_LevelUp_Team", -1), PlayerGroupSingle(lv_player), lv_itUnit, 8.0, 100.0, 0.0);
SoundPlayOnUnit(SoundLink("UI_Game_LevelUp_Enemy", -1), PlayerGroupAlliance(c_playerGroupEnemy, lv_player), lv_itUnit, 8.0, 100.0, 0.0);
}
lv_itTalentTier = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:2281
if ((libSprt_gv_dEBUGBonusMinionXP == true)) {
if (((UnitGetOwner(lp_deadUnit) == libCore_gv_cOMPUTER_TeamChaos) || (UnitGetOwner(lp_deadUnit) == libCore_gv_cOMPUTER_TeamOrder))) {
lv_heroUnitOfAllyofDeadUnit = libGame_gv_players[PlayerGroupPlayer(PlayerGroupAlliance(c_playerGroupAlly, UnitGetOwner(lp_deadUnit)), 1)].lv_heroUnit;
}
else {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3794
}
UnitSetState(libMapM_gv_mMGardensDragonStatue, c_unitStateHighlightable, true);
auto57396F19_g = PlayerGroupAlliance(c_playerGroupAlly, lp_computerPlayer);
lv_p = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3801
UnitSetStateForPlayer(libMapM_gv_mMGardensDragonStatue, c_unitStateTargetable, lv_p, true);
}
auto3B8E9622_g = PlayerGroupAlliance(c_playerGroupEnemy, lp_computerPlayer);
lv_p = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3809
}
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTag, PlayerGroupAll(), false);
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagAllyOwned, PlayerGroupAlliance(c_playerGroupAlly, lp_computerPlayer), true);
autoA43C1C70_g = PlayerGroupAlliance(c_playerGroupAlly, lp_computerPlayer);
lv_p = -1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3810
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTag, PlayerGroupAll(), false);
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagAllyOwned, PlayerGroupAlliance(c_playerGroupAlly, lp_computerPlayer), true);
autoA43C1C70_g = PlayerGroupAlliance(c_playerGroupAlly, lp_computerPlayer);
lv_p = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3823
}
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagEnemyOwned, PlayerGroupAlliance(c_playerGroupEnemy, lp_computerPlayer), true);
auto6728DB37_g = PlayerGroupAlliance(c_playerGroupEnemy, lp_computerPlayer);
lv_p = -1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:3824
}
TextTagShow(libMapM_gv_mMGardensDragonStatueTextTagEnemyOwned, PlayerGroupAlliance(c_playerGroupEnemy, lp_computerPlayer), true);
auto6728DB37_g = PlayerGroupAlliance(c_playerGroupEnemy, lp_computerPlayer);
lv_p = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:7347
}
if ((lv_owner != libCore_gv_cOMPUTER_Neutral)) {
autoDA72EB8E_g = PlayerGroupAlliance(c_playerGroupAlly, lv_owner);
lv_p = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:2880
DialogControlSetAnimationState(libUIUI_gv_uIMVPSecondaryPanels[lp_awardSlot].lv_panelContainer, libCore_gv_playerGroupFromPlayer[lv_itPlayer], "ColorState", "Red");
DialogControlSetAnimationState(libUIUI_gv_uIMVPSecondaryPanels[lp_awardSlot].lv_panelContainer, libCore_gv_playerGroupFromPlayer[lv_itPlayer], "AwardLabelsColor", "Red");
auto20460FF4_g = PlayerGroupAlliance(c_playerGroupEnemy, lv_itPlayer);
lv_itPlayerBlue = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:3520
if ((UnitHasBehavior2(libGame_gv_players[lp_player].lv_heroUnit, "HeroSharesCutsceneOverlaysSource") == true)) {
auto55A079BE_g = PlayerGroupAlliance(c_playerGroupAlly, lp_player);
auto55A079BE_var = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:3633
if ((UnitHasBehavior2(libGame_gv_players[lp_player].lv_heroUnit, "HeroSharesCutsceneOverlaysSource") == true)) {
autoA91D20B2_g = PlayerGroupAlliance(c_playerGroupAlly, lp_player);
autoA91D20B2_var = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:5670
DialogControlHookup(lv_itemFrame, c_triggerControlTypePanel, libNtve_gf_ConvertStringToUILayoutFrameName(("QuestIcon" + IntToString(lv_combo))));
DialogControlSendAnimationEvent(DialogControlLastCreated(), PlayerGroupAll(), "FadeIn");
SoundPlayForPlayer(SoundLink("TalentQuestLogCompleteAlly", -1), c_maxPlayers, PlayerGroupMath(PlayerGroupAlliance(c_playerGroupAlly, lp_player), PlayerGroupSingle(lp_player), libNtve_ge_PlayerGroupOperation_Subtract), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("TalentQuestLogCompleteEnemy", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupEnemy, lp_player), 100.0, 0.0);
lv_questName = StringExternal(("Button/Name/" + CatalogFieldValueGet(c_gameCatalogBehavior, lp_questToken, "Face", c_playerAny)));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:5671
DialogControlSendAnimationEvent(DialogControlLastCreated(), PlayerGroupAll(), "FadeIn");
SoundPlayForPlayer(SoundLink("TalentQuestLogCompleteAlly", -1), c_maxPlayers, PlayerGroupMath(PlayerGroupAlliance(c_playerGroupAlly, lp_player), PlayerGroupSingle(lp_player), libNtve_ge_PlayerGroupOperation_Subtract), 100.0, 0.0);
SoundPlayForPlayer(SoundLink("TalentQuestLogCompleteEnemy", -1), c_maxPlayers, PlayerGroupAlliance(c_playerGroupEnemy, lp_player), 100.0, 0.0);
lv_questName = StringExternal(("Button/Name/" + CatalogFieldValueGet(c_gameCatalogBehavior, lp_questToken, "Face", c_playerAny)));
libGame_gf_AnnouncementAddItemForPlayerGroup(libCore_gv_playerGroupFromPlayer[lp_player], libGame_ge_AnnouncementPriorities_Normal, libCore_ge_AnnouncerVOEvents_Null, "ShowQuestNotification", StringExternal("Param/Value/lib_UIUI_607B6246"), lv_questName, null, null, (lv_icon), libGame_gv_announcement_LongAnnouncementDuration_C, false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:5951
lv_heroGroupStatusFramesIndex = 1;
for ( ; ( (autoA795863C_ai >= 0 && lv_heroGroupStatusFramesIndex <= autoA795863C_ae) || (autoA795863C_ai < 0 && lv_heroGroupStatusFramesIndex >= autoA795863C_ae) ) ; lv_heroGroupStatusFramesIndex += autoA795863C_ai ) {
DialogControlSendAnimationEvent(libUIUI_gv_uIHeroStatusFrames[lp_player].lv_onFireCutscene[lv_heroGroupStatusFramesIndex], PlayerGroupAlliance(c_playerGroupAlly, lp_player), "OnFireDefense");
DialogControlSendAnimationEvent(libUIUI_gv_uIHeroStatusFrames[lp_player].lv_onFireCutscene[lv_heroGroupStatusFramesIndex], PlayerGroupSingle(lp_player), "OnFireDefense");
DialogControlSendAnimationEvent(libUIUI_gv_uIHeroStatusFrames[lp_player].lv_onFireCutscene[lv_heroGroupStatusFramesIndex], PlayerGroupAlliance(c_playerGroupEnemy, lp_player), "OnFireOffense");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:5953
DialogControlSendAnimationEvent(libUIUI_gv_uIHeroStatusFrames[lp_player].lv_onFireCutscene[lv_heroGroupStatusFramesIndex], PlayerGroupAlliance(c_playerGroupAlly, lp_player), "OnFireDefense");
DialogControlSendAnimationEvent(libUIUI_gv_uIHeroStatusFrames[lp_player].lv_onFireCutscene[lv_heroGroupStatusFramesIndex], PlayerGroupSingle(lp_player), "OnFireDefense");
DialogControlSendAnimationEvent(libUIUI_gv_uIHeroStatusFrames[lp_player].lv_onFireCutscene[lv_heroGroupStatusFramesIndex], PlayerGroupAlliance(c_playerGroupEnemy, lp_player), "OnFireOffense");
}
DialogControlSendAnimationEvent(libUIUI_gv_uIPartyFrame.lv_heroOnFireCutscene[libGame_gv_players[lp_player].lv_rosterSlot], libGame_gf_AlliedPlayerGroupOfPlayer(lp_player), "OnFireAlly");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:14448
for ( ; ( (auto4B68C9FE_ai >= 0 && lv_i_Player <= auto4B68C9FE_ae) || (auto4B68C9FE_ai < 0 && lv_i_Player >= auto4B68C9FE_ae) ) ; lv_i_Player += auto4B68C9FE_ai ) {
if ((EventDialogControl() == libUIUI_gv_killLogDebugPanel.lv_killButtons[lv_i_Player])) {
if ((PlayerGroupCount(PlayerGroupAlliance(c_playerGroupEnemy, lv_i_Player)) == 0)) {
TextExpressionSetToken("Param/Expression/lib_UIUI_60927072", "A", IntToText(libGame_gf_EnemyTeamNumberOfPlayer(lv_i_Player)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_UIUI_60927072"), true);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:14454
}
lv_targetUnit = libGame_gv_players[PlayerGroupPlayer(PlayerGroupAlliance(c_playerGroupEnemy, lv_i_Player), RandomInt(1, PlayerGroupCount(PlayerGroupAlliance(c_playerGroupEnemy, lv_i_Player))))].lv_heroUnit;
if ((libNtve_gf_DialogItemIsChecked(libUIUI_gv_killLogDebugPanel.lv_killCheckbox, EventPlayer()) == true)) {
lv_questsResetCount = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:14454
}
lv_targetUnit = libGame_gv_players[PlayerGroupPlayer(PlayerGroupAlliance(c_playerGroupEnemy, lv_i_Player), RandomInt(1, PlayerGroupCount(PlayerGroupAlliance(c_playerGroupEnemy, lv_i_Player))))].lv_heroUnit;
if ((libNtve_gf_DialogItemIsChecked(libUIUI_gv_killLogDebugPanel.lv_killCheckbox, EventPlayer()) == true)) {
lv_questsResetCount = 1;
mods/heromods/alarak.stormmod — base.stormdata/LibHALA.galaxy:484
lv_deadUnitLocation = libGame_gf_HeroAllyKilledLocation();
}
autoF00BC071_g = PlayerGroupAlliance(c_playerGroupAlly, lv_deadUnitOwner);
autoF00BC071_var = -1;
while (true) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:83
}
libNtve_gf_AddPlayerGroupToPlayerGroup(PlayerGroupAlliance(c_playerGroupAlly, lp_player), lv_pingPlayers);
PlayerGroupAdd(lv_pingPlayers, lp_player);
if ((TimerGetRemaining(libLbty_gv_pingSuppressionTimer[lv_gameUserIndex]) > 0.0)) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:185
// Implementation
libNtve_gf_AddPlayerGroupToPlayerGroup(PlayerGroupAlliance(c_playerGroupAlly, lp_player), lv_pingPlayers);
PlayerGroupAdd(lv_pingPlayers, lp_player);
if ((libNtve_gf_PlayerIsEnemy(lp_player, lp_pingTargetOwner, libNtve_ge_PlayerRelation_Enemy) == true)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:13081
lv_detectors[4] = "Oracle";
lv_detectors[5] = "Overseer";
auto3F461774_g = PlayerGroupAlliance(c_playerGroupEnemy, 1);
auto3F461774_var = -1;
while (true) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:13130
if ((lv_bestDetector != null)) {
libNtve_gf_AICast(lv_bestDetector, OrderTargetingPoint(AbilityCommand("attack", 0), lv_cloakedAttackerLocation[auto62A946DE_var]));
autoD7B3C3D7_g = PlayerGroupAlliance(c_playerGroupEnemy, 1);
autoD7B3C3D7_var = -1;
while (true) {
mods/starcoop/starcoop.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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 ;
}
mods/warcoop/warclassic.sc2mod — base.sc2data/TriggerLibs/WarClassic.galaxy:1065
lv_p = EventPlayerEffectUsedUnitOwner(c_effectPlayerCaster);
lv_color = libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(lv_p, false));
lv_ally = PlayerGroupAlliance(c_playerGroupAlly, lv_p);
lv_prop = UnitGetName(lv_u);
lv_name = StringExternal(("Name/" + (lv_uT)));
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:1294
libGAwX_gf_MirrorUnitState(lv_caster, lv_target, lv_effectItem);
auto2C0C58B9_g = PlayerGroupAlliance(c_playerGroupEnemy, UnitGetOwner(lv_caster));
lv_p = -1;
while (true) {
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:62
playergroup GAw3_AIGetWeakEnemies(int player){
playergroup enemies=PlayerGroupAlliance(c_playerGroupEnemy, player);
playergroup weakEnemies=PlayerGroupEmpty();
int i=1;
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/Orc/Orc.galaxy:438
void SingleMeleeAttack(int player, bool needs_exp, bool has_siege, bool major_ok, bool air_units){
unitgroup ug=UnitGroup(null, player, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterEnemy) | (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile) | (1 << c_targetFilterPreventDefeat), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
playergroup enemies=PlayerGroupAlliance(c_playerGroupEnemy, player);
playergroup weakEnemies=PlayerGroupSingle(GAw3_AICreepPlayer);
point p;
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/Orc/Orc.galaxy:504
int p;
unitgroup ug=UnitGroup(null, player, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterAlly) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterEnemy) | (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile) | (1 << c_targetFilterPreventDefeat), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
playergroup enemies=PlayerGroupAlliance(c_playerGroupEnemy, player);
point po=AIGetBestTarget (player, enemies, UnitGroupCenterOfGroup(ug), c_btDefaultPrefersPath);
if(c_hero1_done[player]+c_hero2_done[player]==0){return;}