# AIEvalLargestEnemy

FlagsNative

# Arguments

  • int — player

Returns — int

native int AIEvalLargestEnemy(int player);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeHighAI.galaxy:477


    selfArmySize = AIEvalAllSelf(player);
    enemyArmySize = AIEvalLargestEnemy(player);
    if (enemyArmySize < 160) {
        return false;

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeHighAI.galaxy:493

bool AIHighEnemyArmyLarger (int player) {
    fixed selfArmySize = AIEvalAllSelf(player);
    fixed enemyArmySize = AIEvalLargestEnemy(player);

    if (enemyArmySize < 100) {

mods/void.sc2modbase.sc2data/TriggerLibs/MeleeHighAI.galaxy:477


    selfArmySize = AIEvalAllSelf(player);
    enemyArmySize = AIEvalLargestEnemy(player);
    if (enemyArmySize < 160) {
        return false;

mods/void.sc2modbase.sc2data/TriggerLibs/MeleeHighAI.galaxy:493

bool AIHighEnemyArmyLarger (int player) {
    fixed selfArmySize = AIEvalAllSelf(player);
    fixed enemyArmySize = AIEvalLargestEnemy(player);

    if (enemyArmySize < 100) {