# AIIsTownFull
Flags —
Native
# Arguments
int
— playerint
— town
Returns — bool
native bool AIIsTownFull(int player, int town);
# Related
Category: Unclassified
# Examples
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:2082
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:2081
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyHd.galaxy:2112
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:2082
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:2081
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyHd.galaxy:2112
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:2608
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:2610
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyHd.galaxy:2641
// Make sure we have enough pylon space to build things at the main town
minPylonCount = 2;
if (AIIsTownFull(player, c_townMain)) {
minPylonCount = 6;
}