# AIGetTotalStartLocs

FlagsNative

Returns — int

native int AIGetTotalStartLocs();

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/MeleeBuildAI.galaxy:386

    }

    if (AIGetTotalStartLocs() > AIGetNumEnemies(player)+AIGetNumAllies(player)+1) {   // ie numStartLocs > numPlayers
        // don't rush if we can't be sure of the opponent's start location, just do a timing attack instead
        timingChance += rushChance;