# Declare Next Town

Grammar — Create a new town for player player at point center|center
FlagsAction

Create a new town for player at the specified point.

# Arguments

  • int — Player
  • point — Center

Returns — void

void libNtve_gf_DeclareNextTown(
	int lp_player,
	point lp_center,
);

Category: AI Advanced / Towns / Actions

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2889

    AICampaignStart(gv_pLAYER_03_INFESTED_REFUGEES);
    AICampaignStart(gv_pLAYER_04_INFESTEDREFUGEES);
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(118)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(31)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2890

    AICampaignStart(gv_pLAYER_04_INFESTEDREFUGEES);
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(118)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(31)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2891

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(118)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(31)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2892

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(31)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2893

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(36)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2894

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(36)));
    AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_REFUGEES, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2895

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(36)));
    AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_REFUGEES, true);
    AISetDifficulty(gv_pLAYER_03_INFESTED_REFUGEES, c_diffPressForward, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:4082

    AIAttackWaveSetGatherPoint(gv_p04_DOMINION_AIR, PointFromId(1071));
    AIAttackWaveSetGatherPoint(gv_p05_DOMINION_RAIDER, PointFromId(1069));
    libNtve_gf_DeclareNextTown(gv_p02_DOMINION_INFANTRY, UnitGetPosition(UnitFromId(570)));
    AINearestTownBullyRebuild(gv_p02_DOMINION_INFANTRY, true);
    AINearestTownLimitWaveGather(gv_p02_DOMINION_INFANTRY, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1656

    AICampaignStart(gv_pLAYER03_PROTOSS);
    AICampaignStart(gv_pLAYER04_PROTOSS);
    libNtve_gf_DeclareNextTown(gv_pLAYER02_PROTOSS, PointFromId(354));
    AINearestTownBullyRebuild(gv_pLAYER02_PROTOSS, true);
    AINearestTownLimitWaveGather(gv_pLAYER02_PROTOSS, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1761

    AIAttackWaveSetTargetPlayer(gv_p03_ZERG_NORTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(296));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(693));
    AINearestTownBullyRebuild(gv_p02_ZERG_LOW_GROUND_AI, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1762

    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(296));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(693));
    AINearestTownBullyRebuild(gv_p02_ZERG_LOW_GROUND_AI, true);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2889

    AICampaignStart(gv_pLAYER_03_INFESTED_REFUGEES);
    AICampaignStart(gv_pLAYER_04_INFESTEDREFUGEES);
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(118)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(31)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2890

    AICampaignStart(gv_pLAYER_04_INFESTEDREFUGEES);
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(118)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(31)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2891

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(118)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(31)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2892

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(31)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2893

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(38)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(36)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2894

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(29)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(36)));
    AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_REFUGEES, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2895

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(35)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(30)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_INFESTED_REFUGEES, UnitGetPosition(UnitFromId(36)));
    AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_REFUGEES, true);
    AISetDifficulty(gv_pLAYER_03_INFESTED_REFUGEES, c_diffPressForward, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:4082

    AIAttackWaveSetGatherPoint(gv_p04_DOMINION_AIR, PointFromId(1071));
    AIAttackWaveSetGatherPoint(gv_p05_DOMINION_RAIDER, PointFromId(1069));
    libNtve_gf_DeclareNextTown(gv_p02_DOMINION_INFANTRY, UnitGetPosition(UnitFromId(570)));
    AINearestTownBullyRebuild(gv_p02_DOMINION_INFANTRY, true);
    AINearestTownLimitWaveGather(gv_p02_DOMINION_INFANTRY, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2mapMapScript.galaxy:1656

    AICampaignStart(gv_pLAYER03_PROTOSS);
    AICampaignStart(gv_pLAYER04_PROTOSS);
    libNtve_gf_DeclareNextTown(gv_pLAYER02_PROTOSS, PointFromId(354));
    AINearestTownBullyRebuild(gv_pLAYER02_PROTOSS, true);
    AINearestTownLimitWaveGather(gv_pLAYER02_PROTOSS, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:1761

    AIAttackWaveSetTargetPlayer(gv_p03_ZERG_NORTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(296));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(693));
    AINearestTownBullyRebuild(gv_p02_ZERG_LOW_GROUND_AI, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:1762

    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(296));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(693));
    AINearestTownBullyRebuild(gv_p02_ZERG_LOW_GROUND_AI, true);
    return true;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3256

    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3257

    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3258

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3259

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3260

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3261

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(835));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3262

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(835));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1146));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3263

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(835));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1146));
    lv_i = 1;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3264

    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(835));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1146));
    lv_i = 1;
    for ( ; ( (auto3201462C_ai >= 0 && lv_i <= auto3201462C_ae) || (auto3201462C_ai < 0 && lv_i >= auto3201462C_ae) ) ; lv_i += auto3201462C_ai ) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:3267

    lv_i = 1;
    for ( ; ( (auto3201462C_ai >= 0 && lv_i <= auto3201462C_ae) || (auto3201462C_ai < 0 && lv_i >= auto3201462C_ae) ) ; lv_i += auto3201462C_ai ) {
        libNtve_gf_DeclareNextTown(UnitGetOwner(gv_voidShards[lv_i]), UnitGetPosition(gv_voidShards[lv_i]));
    }
    if ((libLotv_gf_DifficultyValueInt2(1, 1, 0, 0) == 1)) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier01.sc2map/MapScript.galaxy:3975

    cai_startall();
    cai_runall();
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_TALDARIM, PointFromId(34));
    AINearestTownLimitWaveGather(gv_pLAYER_02_TALDARIM, true);
    libVCMI_gf_EnableVoidCampaignAIBehaviorForAllPlayers();

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4547

        autoA50712A6_var = UnitGroupUnitFromEnd(autoA50712A6_g, autoA50712A6_u);
        if (autoA50712A6_var == null) { break; }
        libNtve_gf_DeclareNextTown(gv_pLAYER_05_VOIDFORCES, UnitGetPosition(autoA50712A6_var));
    }
    autoFEECDEF9_g = UnitGroup("VoidRift", gv_pLAYER_06_VOIDFORCES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4554

        autoFEECDEF9_var = UnitGroupUnitFromEnd(autoFEECDEF9_g, autoFEECDEF9_u);
        if (autoFEECDEF9_var == null) { break; }
        libNtve_gf_DeclareNextTown(gv_pLAYER_06_VOIDFORCES, UnitGetPosition(autoFEECDEF9_var));
    }
    auto2905E312_g = UnitGroup("VoidRift", gv_pLAYER_07_VOIDFORCES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4561

        auto2905E312_var = UnitGroupUnitFromEnd(auto2905E312_g, auto2905E312_u);
        if (auto2905E312_var == null) { break; }
        libNtve_gf_DeclareNextTown(gv_pLAYER_07_VOIDFORCES, UnitGetPosition(auto2905E312_var));
    }
    return true;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3256

    AINearestTownBullyRebuild(gv_pLAYER_06_VOIDFORCES, true);
    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3257

    AINearestTownBullyRebuild(gv_pLAYER_07_VOIDFORCES, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3258

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(942));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3259

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(947));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3260

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1297));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3261

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1298));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(835));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3262

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1650));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(835));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1146));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3263

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_PROTOSS_BULLIES, PointFromId(1681));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(835));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1146));
    lv_i = 1;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3264

    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1200));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(835));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_INFESTED_BULLIES, PointFromId(1146));
    lv_i = 1;
    for ( ; ( (auto3201462C_ai >= 0 && lv_i <= auto3201462C_ae) || (auto3201462C_ai < 0 && lv_i >= auto3201462C_ae) ) ; lv_i += auto3201462C_ai ) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2mapMapScript.galaxy:3267

    lv_i = 1;
    for ( ; ( (auto3201462C_ai >= 0 && lv_i <= auto3201462C_ae) || (auto3201462C_ai < 0 && lv_i >= auto3201462C_ae) ) ; lv_i += auto3201462C_ai ) {
        libNtve_gf_DeclareNextTown(UnitGetOwner(gv_voidShards[lv_i]), UnitGetPosition(gv_voidShards[lv_i]));
    }
    if ((libLotv_gf_DifficultyValueInt2(1, 1, 0, 0) == 1)) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier01.sc2mapMapScript.galaxy:3975

    cai_startall();
    cai_runall();
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_TALDARIM, PointFromId(34));
    AINearestTownLimitWaveGather(gv_pLAYER_02_TALDARIM, true);
    libVCMI_gf_EnableVoidCampaignAIBehaviorForAllPlayers();

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4547

        autoA50712A6_var = UnitGroupUnitFromEnd(autoA50712A6_g, autoA50712A6_u);
        if (autoA50712A6_var == null) { break; }
        libNtve_gf_DeclareNextTown(gv_pLAYER_05_VOIDFORCES, UnitGetPosition(autoA50712A6_var));
    }
    autoFEECDEF9_g = UnitGroup("VoidRift", gv_pLAYER_06_VOIDFORCES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4554

        autoFEECDEF9_var = UnitGroupUnitFromEnd(autoFEECDEF9_g, autoFEECDEF9_u);
        if (autoFEECDEF9_var == null) { break; }
        libNtve_gf_DeclareNextTown(gv_pLAYER_06_VOIDFORCES, UnitGetPosition(autoFEECDEF9_var));
    }
    auto2905E312_g = UnitGroup("VoidRift", gv_pLAYER_07_VOIDFORCES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4561

        auto2905E312_var = UnitGroupUnitFromEnd(auto2905E312_g, auto2905E312_u);
        if (auto2905E312_var == null) { break; }
        libNtve_gf_DeclareNextTown(gv_pLAYER_07_VOIDFORCES, UnitGetPosition(auto2905E312_var));
    }
    return true;

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8039

    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffRepairDamage, true);
    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffEarlyGameRepair, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(470));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1878));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8040

    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffEarlyGameRepair, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(470));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1878));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8041

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(470));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1878));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8042

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1878));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8043

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1867));

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8044

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1867));
    libNtve_gf_DeclareNextTown(gv_pLAYER_05_FERALZERG_LEFTBULLIES, PointFromId(581));

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8045

    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1867));
    libNtve_gf_DeclareNextTown(gv_pLAYER_05_FERALZERG_LEFTBULLIES, PointFromId(581));
    if ((libLotv_gf_DifficultyValueInt2(1, 1, 0, 0) == 1)) {

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:8046

    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1867));
    libNtve_gf_DeclareNextTown(gv_pLAYER_05_FERALZERG_LEFTBULLIES, PointFromId(581));
    if ((libLotv_gf_DifficultyValueInt2(1, 1, 0, 0) == 1)) {
        TriggerExecute(gt_AIUpgradesCasualNormal, true, false);

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:5081

        autoD2ACF650_var = UnitGroupUnitFromEnd(autoD2ACF650_g, autoD2ACF650_u);
        if (autoD2ACF650_var == null) { break; }
        libNtve_gf_DeclareNextTown(gv_pLAYER_05_TALDARIM, UnitGetPosition(autoD2ACF650_var));
    }
    return true;

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:1410

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_DeclareNextTown(lp_player, RegionGetCenter(lp_bullyRebuildRegion));
    Wait(2.0, c_timeAI);
    while (!(((libNCMI_gf_GameIsOver() == true) || (libNCMI_gf_PlayerInCinematicModeCampaign() == true) || ((UnitCount("InfestableColonistHut", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedCC", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedBarracks", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedFactory", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedStarport", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedEngBay", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedArmory", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedBunker", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedSupply", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedMissileTurret", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0))))) {

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3569

    Wait(1.0, c_timeAI);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(5)));

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3570

    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(5)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3571

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(5)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionFromId(72), true);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3580

    libNtve_gf_CreateUnitsWithDefaultFacing(3, "SCV", 0, gv_pLAYER_02_DOMINION5, PointFromId(6083815));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION4, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(1)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3581

    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION4, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(1)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(6)));

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3583

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(6)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(7)));
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION4, RegionFromId(1), true);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova08.sc2map/MapScript.galaxy:3584

    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(6)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(7)));
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION4, RegionFromId(1), true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION4, RegionFromId(70), false);

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:4674

    libNtve_gf_SetTacticalAIThink(gv_pLAYER_03_DEFENDERSEAST, "Battlecruiser", "AIBattlecruiser", false);
    libNtve_gf_SetTacticalAIThink(gv_pLAYER_06_DEFENDERSNORTH, "Battlecruiser", "AIBattlecruiser", false);
    libNtve_gf_DeclareNextTown(gv_pLAYER_06_DEFENDERSNORTH, PointFromId(647084373));
    auto8953B216_g = gv_defendersPlayerGroup;
    auto8953B216_var = -1;

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8039

    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffRepairDamage, true);
    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffEarlyGameRepair, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(470));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1878));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8040

    AISetDifficulty(gv_pLAYER_06_DEFENDERSOFMAN, c_diffEarlyGameRepair, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(470));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1878));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8041

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(470));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1878));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8042

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1878));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8043

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1879));
    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1867));

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8044

    libNtve_gf_DeclareNextTown(gv_pLAYER_03_FERALZERG_MIDDLEBULLIES, PointFromId(1898));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1867));
    libNtve_gf_DeclareNextTown(gv_pLAYER_05_FERALZERG_LEFTBULLIES, PointFromId(581));

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8045

    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(159));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1867));
    libNtve_gf_DeclareNextTown(gv_pLAYER_05_FERALZERG_LEFTBULLIES, PointFromId(581));
    if ((libLotv_gf_DifficultyValueInt2(1, 1, 0, 0) == 1)) {

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2mapMapScript.galaxy:8046

    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1866));
    libNtve_gf_DeclareNextTown(gv_pLAYER_04_FERALZERG_RIGHTBULLIES, PointFromId(1867));
    libNtve_gf_DeclareNextTown(gv_pLAYER_05_FERALZERG_LEFTBULLIES, PointFromId(581));
    if ((libLotv_gf_DifficultyValueInt2(1, 1, 0, 0) == 1)) {
        TriggerExecute(gt_AIUpgradesCasualNormal, true, false);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2mapMapScript.galaxy:5081

        autoD2ACF650_var = UnitGroupUnitFromEnd(autoD2ACF650_g, autoD2ACF650_u);
        if (autoD2ACF650_var == null) { break; }
        libNtve_gf_DeclareNextTown(gv_pLAYER_05_TALDARIM, UnitGetPosition(autoD2ACF650_var));
    }
    return true;

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2mapMapScript.galaxy:1410

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_DeclareNextTown(lp_player, RegionGetCenter(lp_bullyRebuildRegion));
    Wait(2.0, c_timeAI);
    while (!(((libNCMI_gf_GameIsOver() == true) || (libNCMI_gf_PlayerInCinematicModeCampaign() == true) || ((UnitCount("InfestableColonistHut", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedCC", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedBarracks", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedFactory", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedStarport", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedEngBay", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedArmory", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedBunker", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedSupply", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0) && (UnitCount("InfestedMissileTurret", lp_player, lp_bullyRebuildRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1) == 0))))) {

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3569

    Wait(1.0, c_timeAI);
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(5)));

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3570

    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(5)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3571

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION, RegionGetCenter(RegionFromId(5)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION2, true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION2, RegionFromId(72), true);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3580

    libNtve_gf_CreateUnitsWithDefaultFacing(3, "SCV", 0, gv_pLAYER_02_DOMINION5, PointFromId(6083815));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION4, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(1)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3581

    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION4, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(1)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(6)));

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3583

    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION4, RegionGetCenter(RegionFromId(2)));
    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(6)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(7)));
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION4, RegionFromId(1), true);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova08.sc2mapMapScript.galaxy:3584

    AINearestTownBullyRebuild(gv_pLAYER_02_DOMINION5, true);
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(6)));
    libNtve_gf_DeclareNextTown(gv_pLAYER_02_DOMINION5, RegionGetCenter(RegionFromId(7)));
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION4, RegionFromId(1), true);
    AIToggleBulliesInRegion(gv_pLAYER_02_DOMINION4, RegionFromId(70), false);

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2mapMapScript.galaxy:4674

    libNtve_gf_SetTacticalAIThink(gv_pLAYER_03_DEFENDERSEAST, "Battlecruiser", "AIBattlecruiser", false);
    libNtve_gf_SetTacticalAIThink(gv_pLAYER_06_DEFENDERSNORTH, "Battlecruiser", "AIBattlecruiser", false);
    libNtve_gf_DeclareNextTown(gv_pLAYER_06_DEFENDERSNORTH, PointFromId(647084373));
    auto8953B216_g = gv_defendersPlayerGroup;
    auto8953B216_var = -1;