# Triggering Progress Upgrade

Grammar — Triggering progress upgrade
FlagsFunction

Returns the triggering progress upgrade. Used in response to “Unit Research Progress”.

Returns — string<gamelink::Upgrade>

string libNtve_gf_TriggeringProgressUpgrade();

# Supported triggers

Category: Unit / Progress And Queues

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5502

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergGroundArmorsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMeleeWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1")))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5502

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergGroundArmorsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMeleeWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1")))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:5502

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergGroundArmorsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMeleeWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1")))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2mapMapScript.galaxy:5502

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergGroundArmorsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMeleeWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1")))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2mapMapScript.galaxy:5502

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergGroundArmorsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMeleeWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1")))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2mapMapScript.galaxy:5502

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergGroundArmorsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMeleeWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1")))) {
            return false;
        }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:18768

    }

    autoBDFFA767_val = libNtve_gf_TriggeringProgressUpgrade();
    if (autoBDFFA767_val == "ZergMeleeWeaponsLevel1") {
        libSwaC_gv_zSX_CamStatsWeaponArmorUpgrades = (libSwaC_gv_zSX_CamStatsWeaponArmorUpgrades + "M1");

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15154

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel2") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel3")))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15154

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel2") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel3")))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15154

        }

        if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel2") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel3")))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15166

    CatalogFieldValueModify(c_gameCatalogEffect, "BrutalizeDamage", "Amount", libCOOC_gf_CC_PlayerOfCommanderInGroupFirst("ZergAbathur", libCOOC_gf_CC_PlayersOfCommander("ZergAbathur")), "3", c_upgradeOperationAdd);
    CatalogFieldValueModify(c_gameCatalogWeapon, "Brutalize", "Level", libCOOC_gf_CC_PlayerOfCommanderInGroupFirst("ZergAbathur", libCOOC_gf_CC_PlayersOfCommander("ZergAbathur")), "1", c_upgradeOperationAdd);
    if ((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1")) {
        CatalogFieldValueSet(c_gameCatalogWeapon, "Brutalize", "Icon", libCOOC_gf_CC_PlayerOfCommanderInGroupFirst("ZergAbathur", libCOOC_gf_CC_PlayersOfCommander("ZergAbathur")), "Assets\\Textures\\btn-upgrade-zerg-meleeattacks-level1.dds");
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15170

    }

    if ((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel2")) {
        CatalogFieldValueSet(c_gameCatalogWeapon, "Brutalize", "Icon", libCOOC_gf_CC_PlayerOfCommanderInGroupFirst("ZergAbathur", libCOOC_gf_CC_PlayersOfCommander("ZergAbathur")), "Assets\\Textures\\btn-upgrade-zerg-meleeattacks-level2.dds");
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:15174

    }

    if ((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel3")) {
        CatalogFieldValueSet(c_gameCatalogWeapon, "Brutalize", "Icon", libCOOC_gf_CC_PlayerOfCommanderInGroupFirst("ZergAbathur", libCOOC_gf_CC_PlayersOfCommander("ZergAbathur")), "Assets\\Textures\\btn-upgrade-zerg-meleeattacks-level3.dds");
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:18069

    // Conditions
    if (testConds) {
        if (!((libNtve_gf_TriggeringProgressUpgrade() == "FenixChampionClolarionCarrier"))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:18800

    }

    auto012E2DC1_val = libNtve_gf_TriggeringProgressUpgrade();
    if (auto012E2DC1_val == "FenixChampionKaldalisZealot") {
        libCOMI_gv_cM_Fenix_ChampionAvailable[1][lv_player] = true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:19257

    }

    TextExpressionSetToken("Param/Expression/lib_COMI_48E58677", "UpgradeName", StringExternal((libNtve_gf_TriggeringProgressUpgrade())));
    ActorSendAsText(libNtve_gf_MainActorofUnit(EventUnit()), TextExpressionAssemble("Param/Expression/lib_COMI_48E58677"));
    return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:19287

    }

    TextExpressionSetToken("Param/Expression/lib_COMI_4E78EA33", "UpgradeName", StringExternal((libNtve_gf_TriggeringProgressUpgrade())));
    ActorSendAsText(libNtve_gf_MainActorofUnit(EventUnit()), TextExpressionAssemble("Param/Expression/lib_COMI_4E78EA33"));
    return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:9333

        for ( ; auto100DBF9A_i <= UserDataFieldValueCount(auto100DBF9A_userType,auto100DBF9A_field) ; auto100DBF9A_i += 1 ) {
            lv_equipment = UserDataGetUpgrade(auto100DBF9A_userType,auto100DBF9A_instance,auto100DBF9A_field, auto100DBF9A_i);
            if ((lv_equipment == libNtve_gf_TriggeringProgressUpgrade())) {
                UserDataSetInt("CoopTechTychusSquad", lv_squadinstance, "EquipCount", 1, (UserDataGetInt("CoopTechTychusSquad", lv_squadinstance, "EquipCount", 1) + 1));
                DialogControlSetAnimationState(libCOUI_gv_cU_TychusSquadUnitFrames[UserDataGetInt("CoopTechTychusSquad", lv_squadinstance, "Squad Slot", 1)], PlayerGroupAll(), "EquipmentState", IntToString(UserDataGetInt("CoopTechTychusSquad", lv_squadinstance, "EquipCount", 1)));