# AIGetTotalStartLocs
Flags —
Native
Returns — int
native int AIGetTotalStartLocs();
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.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;