# Unit Construction Progress
Grammar — u construction progress is stage
Flags —Native
|Event
This event fires when a unit’s construction stage reaches a certain progress. Use “Triggering Player” to get the player that triggered construction. Use “Triggering Unit” to get the unit that is doing the constructing. Use “Triggering Progress Unit Type” to get the unit type of the unit that is under construction. Use “Triggering Progress Unit” to get the unit that is under construction.
# Arguments
unitref
[ unit ] — Unitint
[ preset::Unit_Progress ] — Stage
Returns — void
native void TriggerAddEventUnitConstructProgress(
trigger t,
unitref u,
int stage,
);
# Event parameters
- Triggering Game User — EventGameUser
- Triggering Player — EventPlayer
- Triggering Unit — EventUnit
- Triggering Progress Unit — EventUnitProgressUnit
- Triggering Progress Unit Type — libNtve_gf_TriggeringProgressUnitType
# Related
Category: Unit / Progress And Queues
- [F] —
void
— Set Unit Progress — ( UnitSetProgressComplete ) - [F] —
fixed
— Unit Progress (Percent) — ( UnitGetProgressComplete ) - [F] —
void
— Pause/Resume/Cancel Unit Progress Bar — ( UnitSetProgressStage ) - [F] —
bool
— Unit Progress Bar Check — ( UnitCheckProgressState ) - [F] —
bool
— Unit Is Under Construction — ( libNtve_gf_UnitIsUnderConstruction ) - [F] —
void
— Unit Arming Progress — ( TriggerAddEventUnitArmMagazineProgress ) - [F] —
void
— Unit Construction Progress — ( TriggerAddEventUnitConstructProgress ) - [F] —
void
— Unit Learn Progress — ( TriggerAddEventUnitLearnProgress ) - [F] —
void
— Unit Research Progress — ( TriggerAddEventUnitResearchProgress ) - [F] —
void
— Unit Revive Progress — ( TriggerAddEventUnitReviveProgress ) - [F] —
void
— Unit Specialization Progress — ( TriggerAddEventUnitSpecializeProgress ) - [F] —
void
— Unit Training Progress — ( TriggerAddEventUnitTrainProgress ) - [F] —
string
[ gamelink ] — Triggering Progress Object — ( EventUnitProgressObjectType ) - [F] —
string
[ gamelink::Abil ] — Triggering Progress Ability — ( libNtve_gf_TriggeringProgressAbility ) - [F] —
string
[ gamelink::Effect ] — Triggering Progress Effect — ( libNtve_gf_TriggeringProgressEffect ) - [F] —
unit
— Triggering Progress Unit — ( EventUnitProgressUnit ) - [F] —
string
[ gamelink::Unit ] — Triggering Progress Unit Type — ( libNtve_gf_TriggeringProgressUnitType ) - [F] —
string
[ gamelink::Upgrade ] — Triggering Progress Upgrade — ( libNtve_gf_TriggeringProgressUpgrade ) - [F] —
int
— Number Of Items In Training Queue Slot — ( UnitQueueItemCount ) - [F] —
string
[ gamelink ] — Queued Object In Training Queue Slot — ( UnitQueueItemGet ) - [F] —
string
[ gamelink::Behavior ] — Queued Behavior Type In Training Queue Slot — ( libNtve_gf_QueuedBehaviorTypeInTrainingQueueSlot ) - [F] —
string
[ gamelink::Unit ] — Queued Unit Type In Training Queue Slot — ( libNtve_gf_QueuedUnitTypeInTrainingQueueSlot ) - [F] —
string
[ gamelink::Upgrade ] — Queued Upgrade Type In Training Queue Slot — ( libNtve_gf_QueuedUpgradeTypeInTrainingQueueSlot ) - [F] —
int
— Training Queue Property Of Unit — ( UnitQueueGetProperty ) - [F] —
bool
— Training Queue Slot Type Check — ( UnitQueueItemTypeCheck ) - [F] —
fixed
— Training Queue Time — ( UnitQueueItemTime )
# Examples
# campaigns/liberty.sc2campaign
// L903
TriggerAddEventUnitConstructProgress(gt_NewProtossBuilding, null, c_unitProgressStageStart)
// L2822
TriggerAddEventUnitConstructProgress(gt_WarpInUnitsStarted, null, c_unitProgressStageStart)
// L2863
TriggerAddEventUnitConstructProgress(gt_WarpInUnitsBehavior, null, c_unitProgressStageComplete)
// L3917
TriggerAddEventUnitConstructProgress(gt_ProtossP02WarpInUnitsBehavior, null, c_unitProgressStageComplete)
// L1531
TriggerAddEventUnitConstructProgress(gt_VirophageConstructionBegins, null, c_unitProgressStageStart)
// L1626
TriggerAddEventUnitConstructProgress(gt_VirophageConstructionEnds, null, c_unitProgressStageComplete)
// L1480
TriggerAddEventUnitConstructProgress(gt_SupplyDepotBuilt, null, c_unitProgressStageComplete)
// L1514
TriggerAddEventUnitConstructProgress(gt_BarracksBuilt, null, c_unitProgressStageComplete)
// L4161
TriggerAddEventUnitConstructProgress(gt_StatBarracksBuilt, null, c_unitProgressStageComplete)
// L1875
TriggerAddEventUnitConstructProgress(gt_NewStructureBuilt, null, c_unitProgressStageComplete)
// L6278
TriggerAddEventUnitConstructProgress(gt_Construction02CommandCenterStarted, null, c_unitProgressStageStart)
// L6311
TriggerAddEventUnitConstructProgress(gt_Construction02CommandCenterCancelled, null, c_unitProgressStageCancel)
// L6401
TriggerAddEventUnitConstructProgress(gt_ObjectiveConstruction02Complete, null, c_unitProgressStageComplete)
// L7215
TriggerAddEventUnitConstructProgress(gt_Collection02RefineryStarted, null, c_unitProgressStageStart)
// L7248
TriggerAddEventUnitConstructProgress(gt_Collection02RefineryCancelled, null, c_unitProgressStageCancel)
// L7332
TriggerAddEventUnitConstructProgress(gt_ObjectiveCollection02Complete, null, c_unitProgressStageComplete)
// L8668
TriggerAddEventUnitConstructProgress(gt_Production03MoreLinesQ, null, c_unitProgressStageStart)
// L8797
TriggerAddEventUnitConstructProgress(gt_Production03TechLabStarted, null, c_unitProgressStageStart)
// L8830
TriggerAddEventUnitConstructProgress(gt_Production03TechLabCancelled, null, c_unitProgressStageCancel)
// L8912
TriggerAddEventUnitConstructProgress(gt_ObjectiveProduction03Complete, null, c_unitProgressStageComplete)
// L2737
TriggerAddEventUnitConstructProgress(gt_PrismAttackPhase1aWarpedIn, null, c_unitProgressStageComplete)
// L3570
TriggerAddEventUnitConstructProgress(gt_AIP6WarpInSuicide, null, c_unitProgressStageComplete)
// L7370
TriggerAddEventUnitConstructProgress(gt_StalkerConvertAfterWarpIn, null, c_unitProgressStageComplete)
// L7401
TriggerAddEventUnitConstructProgress(gt_StalkerColor, null, c_unitProgressStageStart)
// L9063
TriggerAddEventUnitConstructProgress(gt_CinematicKarassCoolWarpInUnitGroup, null, c_unitProgressStageStart)
// L9095
TriggerAddEventUnitConstructProgress(gt_CinematicKarassCoolWarpInMovement, null, c_unitProgressStageComplete)
// L2212
TriggerAddEventUnitConstructProgress(gt_Gateway, null, c_unitProgressStageComplete)
// L2246
TriggerAddEventUnitConstructProgress(gt_Forge, null, c_unitProgressStageComplete)
// L2280
TriggerAddEventUnitConstructProgress(gt_CyberneticsCore, null, c_unitProgressStageComplete)
// L2314
TriggerAddEventUnitConstructProgress(gt_TwilightCouncil, null, c_unitProgressStageComplete)
// L2348
TriggerAddEventUnitConstructProgress(gt_PhotonCannon01Base, null, c_unitProgressStageComplete)
// L2382
TriggerAddEventUnitConstructProgress(gt_PhotonCannon02Base, null, c_unitProgressStageComplete)
// L2519
TriggerAddEventUnitConstructProgress(gt_PlayerBuildingPhotonCannonsActivatesMidCin, null, c_unitProgressStageComplete)
// L2621
TriggerAddEventUnitConstructProgress(gt_PlayerBuildingPhotonCannonActivatesStalker, null, c_unitProgressStageComplete)
// L2896
TriggerAddEventUnitConstructProgress(gt_Pylonplacementdone01, null, c_unitProgressStageStart)
// L2931
TriggerAddEventUnitConstructProgress(gt_Pylonplacementdone02, null, c_unitProgressStageStart)
// L1235
TriggerAddEventUnitConstructProgress(gt_WarpGateNorthPowered, null, c_unitProgressStageComplete)
// L1280
TriggerAddEventUnitConstructProgress(gt_WarpGateSouthPowered, null, c_unitProgressStageComplete)
// L1329
TriggerAddEventUnitConstructProgress(gt_ObeliskNorthPowered, null, c_unitProgressStageComplete)
// L1378
TriggerAddEventUnitConstructProgress(gt_ObeliskSouthPowered, null, c_unitProgressStageComplete)
// L1418
TriggerAddEventUnitConstructProgress(gt_RoboFacNorthPowered, null, c_unitProgressStageComplete)
// L1458
TriggerAddEventUnitConstructProgress(gt_RoboFacSouthPowered, null, c_unitProgressStageComplete)
// L1498
TriggerAddEventUnitConstructProgress(gt_RoboBayPowered, null, c_unitProgressStageComplete)
// L1637
TriggerAddEventUnitConstructProgress(gt_WarpInUnitBehavior, null, c_unitProgressStageComplete)
// L1300
TriggerAddEventUnitConstructProgress(gt_ReinforcementBehavior, null, c_unitProgressStageComplete)
// L1643
TriggerAddEventUnitConstructProgress(gt_ArchivistWarpedin, null, c_unitProgressStageStart)
// L4980
TriggerAddEventUnitConstructProgress(gt_WarpedinTemplarBehavior, null, c_unitProgressStageComplete)
// L2822
TriggerAddEventUnitConstructProgress(gt_WarpInUnitsStarted, null, c_unitProgressStageStart)
// L2863
TriggerAddEventUnitConstructProgress(gt_WarpInUnitsBehavior, null, c_unitProgressStageComplete)
// L3917
TriggerAddEventUnitConstructProgress(gt_ProtossP02WarpInUnitsBehavior, null, c_unitProgressStageComplete)
// L1531
TriggerAddEventUnitConstructProgress(gt_VirophageConstructionBegins, null, c_unitProgressStageStart)
// L1626
TriggerAddEventUnitConstructProgress(gt_VirophageConstructionEnds, null, c_unitProgressStageComplete)
// L1480
TriggerAddEventUnitConstructProgress(gt_SupplyDepotBuilt, null, c_unitProgressStageComplete)
// L1514
TriggerAddEventUnitConstructProgress(gt_BarracksBuilt, null, c_unitProgressStageComplete)
// L4161
TriggerAddEventUnitConstructProgress(gt_StatBarracksBuilt, null, c_unitProgressStageComplete)
// L1875
TriggerAddEventUnitConstructProgress(gt_NewStructureBuilt, null, c_unitProgressStageComplete)
// L6278
TriggerAddEventUnitConstructProgress(gt_Construction02CommandCenterStarted, null, c_unitProgressStageStart)
// L6311
TriggerAddEventUnitConstructProgress(gt_Construction02CommandCenterCancelled, null, c_unitProgressStageCancel)
// L6401
TriggerAddEventUnitConstructProgress(gt_ObjectiveConstruction02Complete, null, c_unitProgressStageComplete)
// L7215
TriggerAddEventUnitConstructProgress(gt_Collection02RefineryStarted, null, c_unitProgressStageStart)
// L7248
TriggerAddEventUnitConstructProgress(gt_Collection02RefineryCancelled, null, c_unitProgressStageCancel)
// L7332
TriggerAddEventUnitConstructProgress(gt_ObjectiveCollection02Complete, null, c_unitProgressStageComplete)
// L8668
TriggerAddEventUnitConstructProgress(gt_Production03MoreLinesQ, null, c_unitProgressStageStart)
// L8797
TriggerAddEventUnitConstructProgress(gt_Production03TechLabStarted, null, c_unitProgressStageStart)
// L8830
TriggerAddEventUnitConstructProgress(gt_Production03TechLabCancelled, null, c_unitProgressStageCancel)
// L8912
TriggerAddEventUnitConstructProgress(gt_ObjectiveProduction03Complete, null, c_unitProgressStageComplete)
// L2737
TriggerAddEventUnitConstructProgress(gt_PrismAttackPhase1aWarpedIn, null, c_unitProgressStageComplete)
// L3570
TriggerAddEventUnitConstructProgress(gt_AIP6WarpInSuicide, null, c_unitProgressStageComplete)
// L7370
TriggerAddEventUnitConstructProgress(gt_StalkerConvertAfterWarpIn, null, c_unitProgressStageComplete)
// L7401
TriggerAddEventUnitConstructProgress(gt_StalkerColor, null, c_unitProgressStageStart)
// L9063
TriggerAddEventUnitConstructProgress(gt_CinematicKarassCoolWarpInUnitGroup, null, c_unitProgressStageStart)
// L9095
TriggerAddEventUnitConstructProgress(gt_CinematicKarassCoolWarpInMovement, null, c_unitProgressStageComplete)
// L2212
TriggerAddEventUnitConstructProgress(gt_Gateway, null, c_unitProgressStageComplete)
// L2246
TriggerAddEventUnitConstructProgress(gt_Forge, null, c_unitProgressStageComplete)
// L2280
TriggerAddEventUnitConstructProgress(gt_CyberneticsCore, null, c_unitProgressStageComplete)
// L2314
TriggerAddEventUnitConstructProgress(gt_TwilightCouncil, null, c_unitProgressStageComplete)
// L2348
TriggerAddEventUnitConstructProgress(gt_PhotonCannon01Base, null, c_unitProgressStageComplete)
// L2382
TriggerAddEventUnitConstructProgress(gt_PhotonCannon02Base, null, c_unitProgressStageComplete)
// L2519
TriggerAddEventUnitConstructProgress(gt_PlayerBuildingPhotonCannonsActivatesMidCin, null, c_unitProgressStageComplete)
// L2621
TriggerAddEventUnitConstructProgress(gt_PlayerBuildingPhotonCannonActivatesStalker, null, c_unitProgressStageComplete)
// L2896
TriggerAddEventUnitConstructProgress(gt_Pylonplacementdone01, null, c_unitProgressStageStart)
// L2931
TriggerAddEventUnitConstructProgress(gt_Pylonplacementdone02, null, c_unitProgressStageStart)
// L1235
TriggerAddEventUnitConstructProgress(gt_WarpGateNorthPowered, null, c_unitProgressStageComplete)
// L1280
TriggerAddEventUnitConstructProgress(gt_WarpGateSouthPowered, null, c_unitProgressStageComplete)
// L1329
TriggerAddEventUnitConstructProgress(gt_ObeliskNorthPowered, null, c_unitProgressStageComplete)
// L1378
TriggerAddEventUnitConstructProgress(gt_ObeliskSouthPowered, null, c_unitProgressStageComplete)
// L1418
TriggerAddEventUnitConstructProgress(gt_RoboFacNorthPowered, null, c_unitProgressStageComplete)
// L1458
TriggerAddEventUnitConstructProgress(gt_RoboFacSouthPowered, null, c_unitProgressStageComplete)
// L1498
TriggerAddEventUnitConstructProgress(gt_RoboBayPowered, null, c_unitProgressStageComplete)
// L1637
TriggerAddEventUnitConstructProgress(gt_WarpInUnitBehavior, null, c_unitProgressStageComplete)
// L1300
TriggerAddEventUnitConstructProgress(gt_ReinforcementBehavior, null, c_unitProgressStageComplete)
// L1643
TriggerAddEventUnitConstructProgress(gt_ArchivistWarpedin, null, c_unitProgressStageStart)
// L4980
TriggerAddEventUnitConstructProgress(gt_WarpedinTemplarBehavior, null, c_unitProgressStageComplete)
// L903
TriggerAddEventUnitConstructProgress(gt_NewProtossBuilding, null, c_unitProgressStageStart)
// L1312
TriggerAddEventUnitConstructProgress(gt_UnitWarpInTracker, null, c_unitProgressStageStart)
// L2958
TriggerAddEventUnitConstructProgress(gt__10thAnniversaryAchievementVictorywithoutbuildingRoboticsFacilityorStargate, null, c_unitProgressStageComplete)
// L3207
TriggerAddEventUnitConstructProgress(gt_AssignCinematicWarpInUnits, null, c_unitProgressStageStart)
// L1224
TriggerAddEventUnitConstructProgress(gt_UnitTrainedOrConstructed, null, c_unitProgressStageStart)
// L3095
TriggerAddEventUnitConstructProgress(gt_RescueSuperWarpGateTrainedUnits, null, c_unitProgressStageStart)
// L3561
TriggerAddEventUnitConstructProgress(gt_CreepTumorConstructed, null, c_unitProgressStageComplete)