# Triggering Progress Upgrade
Grammar — Triggering progress upgrade
Flags —Function
Returns the triggering progress upgrade. Used in response to “Unit Research Progress”.
Returns — string
<gamelink::Upgrade>
string libNtve_gf_TriggeringProgressUpgrade();
# Supported triggers
- Unit Research Progress — TriggerAddEventUnitResearchProgress
# Related
Category: Unit / Progress And Queues
- Set Unit Progress —
void
— UnitSetProgressComplete - Unit Progress (Percent) —
fixed
— UnitGetProgressComplete - Pause/Resume/Cancel Unit Progress Bar —
void
— UnitSetProgressStage - Unit Progress Bar Check —
bool
— UnitCheckProgressState - Unit Is Under Construction —
bool
— libNtve_gf_UnitIsUnderConstruction - Unit Arming Progress —
void
— TriggerAddEventUnitArmMagazineProgress - Unit Construction Progress —
void
— TriggerAddEventUnitConstructProgress - Unit Learn Progress —
void
— TriggerAddEventUnitLearnProgress - Unit Research Progress —
void
— TriggerAddEventUnitResearchProgress - Unit Revive Progress —
void
— TriggerAddEventUnitReviveProgress - Unit Specialization Progress —
void
— TriggerAddEventUnitSpecializeProgress - Unit Training Progress —
void
— TriggerAddEventUnitTrainProgress - Triggering Progress Object —
string
<gamelink> — EventUnitProgressObjectType - Triggering Progress Ability —
string
<gamelink::Abil> — libNtve_gf_TriggeringProgressAbility - Triggering Progress Effect —
string
<gamelink::Effect> — libNtve_gf_TriggeringProgressEffect - Triggering Progress Unit —
unit
— EventUnitProgressUnit - Triggering Progress Unit Type —
string
<gamelink::Unit> — libNtve_gf_TriggeringProgressUnitType - Triggering Progress Upgrade —
string
<gamelink::Upgrade> — libNtve_gf_TriggeringProgressUpgrade - Number Of Items In Training Queue Slot —
int
— UnitQueueItemCount - Queued Object In Training Queue Slot —
string
<gamelink> — UnitQueueItemGet - Queued Behavior Type In Training Queue Slot —
string
<gamelink::Behavior> — libNtve_gf_QueuedBehaviorTypeInTrainingQueueSlot - Queued Unit Type In Training Queue Slot —
string
<gamelink::Unit> — libNtve_gf_QueuedUnitTypeInTrainingQueueSlot - Queued Upgrade Type In Training Queue Slot —
string
<gamelink::Upgrade> — libNtve_gf_QueuedUpgradeTypeInTrainingQueueSlot - Training Queue Property Of Unit —
int
— UnitQueueGetProperty - Training Queue Slot Type Check —
bool
— UnitQueueItemTypeCheck - Training Queue Time —
fixed
— UnitQueueItemTime
# Examples
campaigns/swarm.sc2campaign — base.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.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.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.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.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.sc2map — MapScript.galaxy:5502
}
if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergGroundArmorsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMeleeWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1")))) {
return false;
}
campaigns/swarmstory.sc2campaign — base.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.sc2mod — base.sc2data/LibCOMI.galaxy:15154
}
if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel2") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel3")))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15154
}
if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel2") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel3")))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15154
}
if (!(((libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel1") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel2") || (libNtve_gf_TriggeringProgressUpgrade() == "ZergMissileWeaponsLevel3")))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.sc2data/LibCOMI.galaxy:18069
// Conditions
if (testConds) {
if (!((libNtve_gf_TriggeringProgressUpgrade() == "FenixChampionClolarionCarrier"))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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.sc2mod — base.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)));