# AIIsTownFull

FlagsNative

# Arguments

  • int — player
  • int — town

Returns — bool

native bool AIIsTownFull(int player, int town);

Category: Unclassified

# Examples

mods/liberty.sc2modbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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.sc2modbase.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;
    }