# AIEvalLargestEnemy
Flags —
Native
# Arguments
int
— player
Returns — int
native int AIEvalLargestEnemy(int player);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:477
selfArmySize = AIEvalAllSelf(player);
enemyArmySize = AIEvalLargestEnemy(player);
if (enemyArmySize < 160) {
return false;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:493
bool AIHighEnemyArmyLarger (int player) {
fixed selfArmySize = AIEvalAllSelf(player);
fixed enemyArmySize = AIEvalLargestEnemy(player);
if (enemyArmySize < 100) {
mods/void.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:477
selfArmySize = AIEvalAllSelf(player);
enemyArmySize = AIEvalLargestEnemy(player);
if (enemyArmySize < 160) {
return false;
mods/void.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:493
bool AIHighEnemyArmyLarger (int player) {
fixed selfArmySize = AIEvalAllSelf(player);
fixed enemyArmySize = AIEvalLargestEnemy(player);
if (enemyArmySize < 100) {