# PlayerGroupNextPlayer

FlagsNative

# Arguments

  • playergroup — inGroup
  • int — inIndex

Returns — int

native int PlayerGroupNextPlayer(
	playergroup inGroup,
	int inIndex,
);

Category: Unclassified

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:478

    autoE07C161E_var = -1;
    while (true) {
        autoE07C161E_var = PlayerGroupNextPlayer(autoE07C161E_g, autoE07C161E_var);
        if (autoE07C161E_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoE07C161E_var, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:813

        auto395B6C3C_var = -1;
        while (true) {
            auto395B6C3C_var = PlayerGroupNextPlayer(auto395B6C3C_g, auto395B6C3C_var);
            if (auto395B6C3C_var < 0) { break; }
            PlayerModifyPropertyInt(auto395B6C3C_var, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

        autoB959900B_var = -1;
        while (true) {
            autoB959900B_var = PlayerGroupNextPlayer(autoB959900B_g, autoB959900B_var);
            if (autoB959900B_var < 0) { break; }
            libNtve_gf_SetUpgradeLevelForPlayer(autoB959900B_var, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1192

    auto6A6E9979_var = -1;
    while (true) {
        auto6A6E9979_var = PlayerGroupNextPlayer(auto6A6E9979_g, auto6A6E9979_var);
        if (auto6A6E9979_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto6A6E9979_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2976

    auto3FE98BF4_var = -1;
    while (true) {
        auto3FE98BF4_var = PlayerGroupNextPlayer(auto3FE98BF4_g, auto3FE98BF4_var);
        if (auto3FE98BF4_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3FE98BF4_var, "ZergGroundArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2984

    auto1C61CE14_var = -1;
    while (true) {
        auto1C61CE14_var = PlayerGroupNextPlayer(auto1C61CE14_g, auto1C61CE14_var);
        if (auto1C61CE14_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto1C61CE14_var, "ZergFlyerArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2992

    auto05A3F41C_var = -1;
    while (true) {
        auto05A3F41C_var = PlayerGroupNextPlayer(auto05A3F41C_g, auto05A3F41C_var);
        if (auto05A3F41C_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto05A3F41C_var, "ZergMissileWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3000

    autoFF06FC5D_var = -1;
    while (true) {
        autoFF06FC5D_var = PlayerGroupNextPlayer(autoFF06FC5D_g, autoFF06FC5D_var);
        if (autoFF06FC5D_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoFF06FC5D_var, "ZergMeleeWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3008

    auto703FF620_var = -1;
    while (true) {
        auto703FF620_var = PlayerGroupNextPlayer(auto703FF620_g, auto703FF620_var);
        if (auto703FF620_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto703FF620_var, "zerglingmovementspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3016

    auto7BAD42D1_var = -1;
    while (true) {
        auto7BAD42D1_var = PlayerGroupNextPlayer(auto7BAD42D1_g, auto7BAD42D1_var);
        if (auto7BAD42D1_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto7BAD42D1_var, "ZergFlyerWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3024

    auto70C823A3_var = -1;
    while (true) {
        auto70C823A3_var = PlayerGroupNextPlayer(auto70C823A3_g, auto70C823A3_var);
        if (auto70C823A3_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto70C823A3_var, "ZergMeleeWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3032

    auto16E389A6_var = -1;
    while (true) {
        auto16E389A6_var = PlayerGroupNextPlayer(auto16E389A6_g, auto16E389A6_var);
        if (auto16E389A6_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto16E389A6_var, "ZergMissileWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3040

    auto102C2C60_var = -1;
    while (true) {
        auto102C2C60_var = PlayerGroupNextPlayer(auto102C2C60_g, auto102C2C60_var);
        if (auto102C2C60_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto102C2C60_var, "ZergFlyerWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:544

        lv_p = -1;
        while (true) {
            lv_p = PlayerGroupNextPlayer(autoCF713103_g, lv_p);
            if (lv_p < 0) { break; }
            libNtve_gf_SetUpgradeLevelForPlayer(lv_p, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:892

    autoAFFBB261_var = -1;
    while (true) {
        autoAFFBB261_var = PlayerGroupNextPlayer(autoAFFBB261_g, autoAFFBB261_var);
        if (autoAFFBB261_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:793

    autoAA741316_var = -1;
    while (true) {
        autoAA741316_var = PlayerGroupNextPlayer(autoAA741316_g, autoAA741316_var);
        if (autoAA741316_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:808

    auto0132201B_var = -1;
    while (true) {
        auto0132201B_var = PlayerGroupNextPlayer(auto0132201B_g, auto0132201B_var);
        if (auto0132201B_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto0132201B_var, "CombatShield", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3440

    auto34130251_var = -1;
    while (true) {
        auto34130251_var = PlayerGroupNextPlayer(auto34130251_g, auto34130251_var);
        if (auto34130251_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto34130251_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3458

    autoB5251DD6_var = -1;
    while (true) {
        autoB5251DD6_var = PlayerGroupNextPlayer(autoB5251DD6_g, autoB5251DD6_var);
        if (autoB5251DD6_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoB5251DD6_var, "TerranInfantryWeaponsLevel2", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3475

    auto5DDEC14D_var = -1;
    while (true) {
        auto5DDEC14D_var = PlayerGroupNextPlayer(auto5DDEC14D_g, auto5DDEC14D_var);
        if (auto5DDEC14D_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto5DDEC14D_var, "TerranInfantryWeaponsLevel2", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:266

    lv_p = -1;
    while (true) {
        lv_p = PlayerGroupNextPlayer(auto8FDB1822_g, lv_p);
        if (lv_p < 0) { break; }
        libCamp_gf_ResearchAIUpgrade(lp_qty, lp_upgrade, lv_p);

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

    auto8ADC11E5_var = -1;
    while (true) {
        auto8ADC11E5_var = PlayerGroupNextPlayer(auto8ADC11E5_g, auto8ADC11E5_var);
        if (auto8ADC11E5_var < 0) { break; }
        TechTreeAbilityAllow(auto8ADC11E5_var, AbilityCommand("BansheeCloak", 0), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:522

    auto27D6E41E_var = -1;
    while (true) {
        auto27D6E41E_var = PlayerGroupNextPlayer(auto27D6E41E_g, auto27D6E41E_var);
        if (auto27D6E41E_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto27D6E41E_var, "Burrow", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:775

    auto85721D3B_var = -1;
    while (true) {
        auto85721D3B_var = PlayerGroupNextPlayer(auto85721D3B_g, auto85721D3B_var);
        if (auto85721D3B_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2799

    autoAC0A0760_var = -1;
    while (true) {
        autoAC0A0760_var = PlayerGroupNextPlayer(autoAC0A0760_g, autoAC0A0760_var);
        if (autoAC0A0760_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAC0A0760_var, "ZergMeleeWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2808

    autoE29501A8_var = -1;
    while (true) {
        autoE29501A8_var = PlayerGroupNextPlayer(autoE29501A8_g, autoE29501A8_var);
        if (autoE29501A8_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoE29501A8_var, "ZergFlyerWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2816

    auto64396211_var = -1;
    while (true) {
        auto64396211_var = PlayerGroupNextPlayer(auto64396211_g, auto64396211_var);
        if (auto64396211_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto64396211_var, "zerglingmovementspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2825

    auto3A95EF7E_var = -1;
    while (true) {
        auto3A95EF7E_var = PlayerGroupNextPlayer(auto3A95EF7E_g, auto3A95EF7E_var);
        if (auto3A95EF7E_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3A95EF7E_var, "ZergMeleeWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2874

    auto8E0CF0DE_var = -1;
    while (true) {
        auto8E0CF0DE_var = PlayerGroupNextPlayer(auto8E0CF0DE_g, auto8E0CF0DE_var);
        if (auto8E0CF0DE_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto8E0CF0DE_var, "ZergMeleeWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2882

    auto8D269211_var = -1;
    while (true) {
        auto8D269211_var = PlayerGroupNextPlayer(auto8D269211_g, auto8D269211_var);
        if (auto8D269211_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto8D269211_var, "ZergFlyerWeaponsLevel2", 1);

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

    auto68460B82_var = -1;
    while (true) {
        auto68460B82_var = PlayerGroupNextPlayer(auto68460B82_g, auto68460B82_var);
        if (auto68460B82_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto68460B82_var, "ZergMeleeWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2902

    auto32715262_var = -1;
    while (true) {
        auto32715262_var = PlayerGroupNextPlayer(auto32715262_g, auto32715262_var);
        if (auto32715262_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto32715262_var, "ZergMissileWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:526

        auto1A82A6A6_var = -1;
        while (true) {
            auto1A82A6A6_var = PlayerGroupNextPlayer(auto1A82A6A6_g, auto1A82A6A6_var);
            if (auto1A82A6A6_var < 0) { break; }
            PlayerModifyPropertyInt(auto1A82A6A6_var, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:535

    autoC02C0F37_var = -1;
    while (true) {
        autoC02C0F37_var = PlayerGroupNextPlayer(autoC02C0F37_g, autoC02C0F37_var);
        if (autoC02C0F37_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "hydraliskspeed", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:729

        auto75FDF84D_var = -1;
        while (true) {
            auto75FDF84D_var = PlayerGroupNextPlayer(auto75FDF84D_g, auto75FDF84D_var);
            if (auto75FDF84D_var < 0) { break; }
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "zerglingmovementspeed", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:742

        auto31750779_var = -1;
        while (true) {
            auto31750779_var = PlayerGroupNextPlayer(auto31750779_g, auto31750779_var);
            if (auto31750779_var < 0) { break; }
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:755

        auto66FF1E36_var = -1;
        while (true) {
            auto66FF1E36_var = PlayerGroupNextPlayer(auto66FF1E36_g, auto66FF1E36_var);
            if (auto66FF1E36_var < 0) { break; }
            TechTreeUpgradeAddLevel(auto66FF1E36_var, "ZergMeleeWeaponsLevel2", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:639

    lv_p = -1;
    while (true) {
        lv_p = PlayerGroupNextPlayer(autoBEC5C0B3_g, lv_p);
        if (lv_p < 0) { break; }
        TechTreeUpgradeAddLevel(lv_p, lp_upgrade, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:723

    autoA366C10A_var = -1;
    while (true) {
        autoA366C10A_var = PlayerGroupNextPlayer(autoA366C10A_g, autoA366C10A_var);
        if (autoA366C10A_var < 0) { break; }
        PlayerSetColorIndex(autoA366C10A_var, 3, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:908

    auto3A30A2F6_var = -1;
    while (true) {
        auto3A30A2F6_var = PlayerGroupNextPlayer(auto3A30A2F6_g, auto3A30A2F6_var);
        if (auto3A30A2F6_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ProtossShieldsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:901

    auto45497D82_var = -1;
    while (true) {
        auto45497D82_var = PlayerGroupNextPlayer(auto45497D82_g, auto45497D82_var);
        if (auto45497D82_var < 0) { break; }
        libNtve_gf_SetTacticalAIThink(auto45497D82_var, "Ghost", "GhostAI", false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:908

    autoB6AD81FD_var = -1;
    while (true) {
        autoB6AD81FD_var = PlayerGroupNextPlayer(autoB6AD81FD_g, autoB6AD81FD_var);
        if (autoB6AD81FD_var < 0) { break; }
        libNtve_gf_SetTacticalAIThink(autoB6AD81FD_var, "Medic", "MedicAI", false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:919

    auto9EED34DA_var = -1;
    while (true) {
        auto9EED34DA_var = PlayerGroupNextPlayer(auto9EED34DA_g, auto9EED34DA_var);
        if (auto9EED34DA_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto9EED34DA_var, "ShrikeTurret", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:607

    auto42E01964_var = -1;
    while (true) {
        auto42E01964_var = PlayerGroupNextPlayer(auto42E01964_g, auto42E01964_var);
        if (auto42E01964_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto42E01964_var, "ProtossGroundWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:357

        lv_p = -1;
        while (true) {
            lv_p = PlayerGroupNextPlayer(auto04CF1353_g, lv_p);
            if (lv_p < 0) { break; }
            libNtve_gf_SetUpgradeLevelForPlayer(lv_p, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:458

    auto09E5D80C_var = -1;
    while (true) {
        auto09E5D80C_var = PlayerGroupNextPlayer(auto09E5D80C_g, auto09E5D80C_var);
        if (auto09E5D80C_var < 0) { break; }
        libNtve_gf_SetAlliance(gv_p8_ANCIENT_TEMPLE, auto09E5D80C_var, libNtve_ge_AllianceSetting_Neutral);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1395

    auto8992C0F7_var = -1;
    while (true) {
        auto8992C0F7_var = PlayerGroupNextPlayer(auto8992C0F7_g, auto8992C0F7_var);
        if (auto8992C0F7_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto8992C0F7_var, "WarpGateResearch", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1410

        auto10E30015_var = -1;
        while (true) {
            auto10E30015_var = PlayerGroupNextPlayer(auto10E30015_g, auto10E30015_var);
            if (auto10E30015_var < 0) { break; }
            autoC51C3702_g = UnitGroup("Gateway", auto10E30015_var, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4424

    autoB29F918D_var = -1;
    while (true) {
        autoB29F918D_var = PlayerGroupNextPlayer(autoB29F918D_g, autoB29F918D_var);
        if (autoB29F918D_var < 0) { break; }
        PlayerModifyPropertyInt(autoB29F918D_var, c_playerPropMinerals, c_playerPropOperSetTo, 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5181

    auto091BD106_var = -1;
    while (true) {
        auto091BD106_var = PlayerGroupNextPlayer(auto091BD106_g, auto091BD106_var);
        if (auto091BD106_var < 0) { break; }
        libNtve_gf_SetAlliance(auto091BD106_var, gv_p7_ABANDONED_BASE, libNtve_ge_AllianceSetting_Enemy);

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

        autoAEC2C665_var = -1;
        while (true) {
            autoAEC2C665_var = PlayerGroupNextPlayer(autoAEC2C665_g, autoAEC2C665_var);
            if (autoAEC2C665_var < 0) { break; }
            PlayerModifyPropertyInt(autoAEC2C665_var, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    auto4F7A8F76_var = -1;
    while (true) {
        auto4F7A8F76_var = PlayerGroupNextPlayer(auto4F7A8F76_g, auto4F7A8F76_var);
        if (auto4F7A8F76_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto4F7A8F76_var, "HighTemplarKhaydarinAmulet", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:712

    autoCEDF08E4_var = -1;
    while (true) {
        autoCEDF08E4_var = PlayerGroupNextPlayer(autoCEDF08E4_g, autoCEDF08E4_var);
        if (autoCEDF08E4_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoCEDF08E4_var, "PsiStormTech", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3651

    auto3C898798_var = -1;
    while (true) {
        auto3C898798_var = PlayerGroupNextPlayer(auto3C898798_g, auto3C898798_var);
        if (auto3C898798_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3C898798_var, "ProtossAirArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3659

    autoA9904CDF_var = -1;
    while (true) {
        autoA9904CDF_var = PlayerGroupNextPlayer(autoA9904CDF_g, autoA9904CDF_var);
        if (autoA9904CDF_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoA9904CDF_var, "ProtossGroundArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3667

    autoD1C2EFF5_var = -1;
    while (true) {
        autoD1C2EFF5_var = PlayerGroupNextPlayer(autoD1C2EFF5_g, autoD1C2EFF5_var);
        if (autoD1C2EFF5_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoD1C2EFF5_var, "ProtossShieldsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3675

    auto7FFC8092_var = -1;
    while (true) {
        auto7FFC8092_var = PlayerGroupNextPlayer(auto7FFC8092_g, auto7FFC8092_var);
        if (auto7FFC8092_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto7FFC8092_var, "ProtossAirWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3683

    auto16949520_var = -1;
    while (true) {
        auto16949520_var = PlayerGroupNextPlayer(auto16949520_g, auto16949520_var);
        if (auto16949520_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto16949520_var, "ProtossGroundArmorsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3691

    auto50915219_var = -1;
    while (true) {
        auto50915219_var = PlayerGroupNextPlayer(auto50915219_g, auto50915219_var);
        if (auto50915219_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto50915219_var, "ProtossShieldsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3699

    autoC70F93C2_var = -1;
    while (true) {
        autoC70F93C2_var = PlayerGroupNextPlayer(autoC70F93C2_g, autoC70F93C2_var);
        if (autoC70F93C2_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoC70F93C2_var, "ProtossGroundWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3707

    auto59AB1A11_var = -1;
    while (true) {
        auto59AB1A11_var = PlayerGroupNextPlayer(auto59AB1A11_g, auto59AB1A11_var);
        if (auto59AB1A11_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto59AB1A11_var, "ProtossAirArmorsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3715

    auto2309E24B_var = -1;
    while (true) {
        auto2309E24B_var = PlayerGroupNextPlayer(auto2309E24B_g, auto2309E24B_var);
        if (auto2309E24B_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto2309E24B_var, "Charge", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:725

    auto03CBD14F_var = -1;
    while (true) {
        auto03CBD14F_var = PlayerGroupNextPlayer(auto03CBD14F_g, auto03CBD14F_var);
        if (auto03CBD14F_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto03CBD14F_var, lp_upgrade, lp_int);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:1427

        auto8F28AD19_var = -1;
        while (true) {
            auto8F28AD19_var = PlayerGroupNextPlayer(auto8F28AD19_g, auto8F28AD19_var);
            if (auto8F28AD19_var < 0) { break; }
            PlayerModifyPropertyInt(auto8F28AD19_var, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:1450

    auto2329AB65_var = -1;
    while (true) {
        auto2329AB65_var = PlayerGroupNextPlayer(auto2329AB65_g, auto2329AB65_var);
        if (auto2329AB65_var < 0) { break; }
        libNtve_gf_SetUpgradeLevelForPlayer(auto2329AB65_var, "Burrow", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:560

    auto4DB85A5D_var = -1;
    while (true) {
        auto4DB85A5D_var = PlayerGroupNextPlayer(auto4DB85A5D_g, auto4DB85A5D_var);
        if (auto4DB85A5D_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto4DB85A5D_var, lp_upgrade, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:977

    autoF784DC3D_var = -1;
    while (true) {
        autoF784DC3D_var = PlayerGroupNextPlayer(autoF784DC3D_g, autoF784DC3D_var);
        if (autoF784DC3D_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoF784DC3D_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:507

    autoF78CF180_var = -1;
    while (true) {
        autoF78CF180_var = PlayerGroupNextPlayer(autoF78CF180_g, autoF78CF180_var);
        if (autoF78CF180_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoF78CF180_var, lp_upgrade, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:781

    autoF4746E7F_var = -1;
    while (true) {
        autoF4746E7F_var = PlayerGroupNextPlayer(autoF4746E7F_g, autoF4746E7F_var);
        if (autoF4746E7F_var < 0) { break; }
        PlayerModifyPropertyInt(autoF4746E7F_var, c_playerPropMinerals, c_playerPropOperSetTo, 5000);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:988

        auto2008B5F2_var = -1;
        while (true) {
            auto2008B5F2_var = PlayerGroupNextPlayer(auto2008B5F2_g, auto2008B5F2_var);
            if (auto2008B5F2_var < 0) { break; }
            PlayerModifyPropertyInt(auto2008B5F2_var, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:1008

    auto8D73373B_var = -1;
    while (true) {
        auto8D73373B_var = PlayerGroupNextPlayer(auto8D73373B_g, auto8D73373B_var);
        if (auto8D73373B_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto8D73373B_var, "zerglingmovementspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2465

    lv_p = -1;
    while (true) {
        lv_p = PlayerGroupNextPlayer(autoD0EC159D_g, lv_p);
        if (lv_p < 0) { break; }
        if ((PlayerGetPropertyInt(lv_p, c_playerPropMinerals) < 3000)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:612

    autoFCE04A8E_var = -1;
    while (true) {
        autoFCE04A8E_var = PlayerGroupNextPlayer(autoFCE04A8E_g, autoFCE04A8E_var);
        if (autoFCE04A8E_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoFCE04A8E_var, "hydraliskspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:619

    auto6A4AF53A_var = -1;
    while (true) {
        auto6A4AF53A_var = PlayerGroupNextPlayer(auto6A4AF53A_g, auto6A4AF53A_var);
        if (auto6A4AF53A_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto6A4AF53A_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1710

    autoE93B79B1_var = -1;
    while (true) {
        autoE93B79B1_var = PlayerGroupNextPlayer(autoE93B79B1_g, autoE93B79B1_var);
        if (autoE93B79B1_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoE93B79B1_var, "ZergFlyerArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1723

    autoD39A0AB7_var = -1;
    while (true) {
        autoD39A0AB7_var = PlayerGroupNextPlayer(autoD39A0AB7_g, autoD39A0AB7_var);
        if (autoD39A0AB7_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoD39A0AB7_var, "ZergFlyerArmorsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1736

    auto3B12E1AE_var = -1;
    while (true) {
        auto3B12E1AE_var = PlayerGroupNextPlayer(auto3B12E1AE_g, auto3B12E1AE_var);
        if (auto3B12E1AE_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3B12E1AE_var, "ZergFlyerArmorsLevel3", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1794

    autoC18A7EBE_var = -1;
    while (true) {
        autoC18A7EBE_var = PlayerGroupNextPlayer(autoC18A7EBE_g, autoC18A7EBE_var);
        if (autoC18A7EBE_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoC18A7EBE_var, "ZergGroundArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1804

    auto42DF943C_var = -1;
    while (true) {
        auto42DF943C_var = PlayerGroupNextPlayer(auto42DF943C_g, auto42DF943C_var);
        if (auto42DF943C_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto42DF943C_var, "zerglingmovementspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1815

    auto8391CA9F_var = -1;
    while (true) {
        auto8391CA9F_var = PlayerGroupNextPlayer(auto8391CA9F_g, auto8391CA9F_var);
        if (auto8391CA9F_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto8391CA9F_var, "ZergFlyerArmorsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1825

    auto22F712F9_var = -1;
    while (true) {
        auto22F712F9_var = PlayerGroupNextPlayer(auto22F712F9_g, auto22F712F9_var);
        if (auto22F712F9_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto22F712F9_var, "ZergMeleeWeaponsLevel3", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1834

    auto8C708B1A_var = -1;
    while (true) {
        auto8C708B1A_var = PlayerGroupNextPlayer(auto8C708B1A_g, auto8C708B1A_var);
        if (auto8C708B1A_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto8C708B1A_var, "CentrificalHooks", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:478

    autoE07C161E_var = -1;
    while (true) {
        autoE07C161E_var = PlayerGroupNextPlayer(autoE07C161E_g, autoE07C161E_var);
        if (autoE07C161E_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoE07C161E_var, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:813

        auto395B6C3C_var = -1;
        while (true) {
            auto395B6C3C_var = PlayerGroupNextPlayer(auto395B6C3C_g, auto395B6C3C_var);
            if (auto395B6C3C_var < 0) { break; }
            PlayerModifyPropertyInt(auto395B6C3C_var, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

        autoB959900B_var = -1;
        while (true) {
            autoB959900B_var = PlayerGroupNextPlayer(autoB959900B_g, autoB959900B_var);
            if (autoB959900B_var < 0) { break; }
            libNtve_gf_SetUpgradeLevelForPlayer(autoB959900B_var, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:1192

    auto6A6E9979_var = -1;
    while (true) {
        auto6A6E9979_var = PlayerGroupNextPlayer(auto6A6E9979_g, auto6A6E9979_var);
        if (auto6A6E9979_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto6A6E9979_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:2976

    auto3FE98BF4_var = -1;
    while (true) {
        auto3FE98BF4_var = PlayerGroupNextPlayer(auto3FE98BF4_g, auto3FE98BF4_var);
        if (auto3FE98BF4_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3FE98BF4_var, "ZergGroundArmorsLevel1", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:2984

    auto1C61CE14_var = -1;
    while (true) {
        auto1C61CE14_var = PlayerGroupNextPlayer(auto1C61CE14_g, auto1C61CE14_var);
        if (auto1C61CE14_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto1C61CE14_var, "ZergFlyerArmorsLevel1", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:2992

    auto05A3F41C_var = -1;
    while (true) {
        auto05A3F41C_var = PlayerGroupNextPlayer(auto05A3F41C_g, auto05A3F41C_var);
        if (auto05A3F41C_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto05A3F41C_var, "ZergMissileWeaponsLevel1", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:3000

    autoFF06FC5D_var = -1;
    while (true) {
        autoFF06FC5D_var = PlayerGroupNextPlayer(autoFF06FC5D_g, autoFF06FC5D_var);
        if (autoFF06FC5D_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoFF06FC5D_var, "ZergMeleeWeaponsLevel1", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:3008

    auto703FF620_var = -1;
    while (true) {
        auto703FF620_var = PlayerGroupNextPlayer(auto703FF620_g, auto703FF620_var);
        if (auto703FF620_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto703FF620_var, "zerglingmovementspeed", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:3016

    auto7BAD42D1_var = -1;
    while (true) {
        auto7BAD42D1_var = PlayerGroupNextPlayer(auto7BAD42D1_g, auto7BAD42D1_var);
        if (auto7BAD42D1_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto7BAD42D1_var, "ZergFlyerWeaponsLevel1", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:3024

    auto70C823A3_var = -1;
    while (true) {
        auto70C823A3_var = PlayerGroupNextPlayer(auto70C823A3_g, auto70C823A3_var);
        if (auto70C823A3_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto70C823A3_var, "ZergMeleeWeaponsLevel2", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:3032

    auto16E389A6_var = -1;
    while (true) {
        auto16E389A6_var = PlayerGroupNextPlayer(auto16E389A6_g, auto16E389A6_var);
        if (auto16E389A6_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto16E389A6_var, "ZergMissileWeaponsLevel2", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:3040

    auto102C2C60_var = -1;
    while (true) {
        auto102C2C60_var = PlayerGroupNextPlayer(auto102C2C60_g, auto102C2C60_var);
        if (auto102C2C60_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto102C2C60_var, "ZergFlyerWeaponsLevel2", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:544

        lv_p = -1;
        while (true) {
            lv_p = PlayerGroupNextPlayer(autoCF713103_g, lv_p);
            if (lv_p < 0) { break; }
            libNtve_gf_SetUpgradeLevelForPlayer(lv_p, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:892

    autoAFFBB261_var = -1;
    while (true) {
        autoAFFBB261_var = PlayerGroupNextPlayer(autoAFFBB261_g, autoAFFBB261_var);
        if (autoAFFBB261_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:793

    autoAA741316_var = -1;
    while (true) {
        autoAA741316_var = PlayerGroupNextPlayer(autoAA741316_g, autoAA741316_var);
        if (autoAA741316_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:808

    auto0132201B_var = -1;
    while (true) {
        auto0132201B_var = PlayerGroupNextPlayer(auto0132201B_g, auto0132201B_var);
        if (auto0132201B_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto0132201B_var, "CombatShield", 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3440

    auto34130251_var = -1;
    while (true) {
        auto34130251_var = PlayerGroupNextPlayer(auto34130251_g, auto34130251_var);
        if (auto34130251_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto34130251_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));