# PlayerAIBuildNumber
Flags —
Native
# Arguments
int
— player
Returns — int
native int PlayerAIBuildNumber(int player);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeBuildAI.galaxy:196
//--------------------------------------------------------------------------------------------------
void AISetNextBuildFromPlayerInput (int player) {
int lobbyBuild = PlayerAIBuildNumber(player);
int aicommBuild;
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:310
// counter logic is primarily aimed at 1v1 games and does not consider allies under attack etc
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:448
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:320
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:480
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:302
// counter logic is primarily aimed at 1v1 games and does not consider allies under attack etc
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:434
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:310
// counter logic is primarily aimed at 1v1 games and does not consider allies under attack etc
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:448
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:320
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:480
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:306
// counter logic is primarily aimed at 1v1 games and does not consider allies under attack etc
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:444
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:316
// counter logic is primarily aimed at 1v1 games and does not consider allies under attack etc
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:481
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:323
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:483
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:317
// counter logic is primarily aimed at 1v1 games and does not consider allies under attack etc
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:462
int currentOpening = AIGetUserInt(player, c_openingBuildType);
int currentExactBuild = AIGetUserInt(player, c_currentBuildIndex);
int lobbyBuild = PlayerAIBuildNumber(player);
// don't use counter logic if we were told to do a specific opening