# Unit Revive Progress

Grammaru reviving progress is stage
FlagsNative | Event

This event fires when a unit’s revive progress reaches a certain stage. Use “Triggering Player” to get the player that started the revive. Use “Triggering Unit” to get the unit doing the reviving. Use “Triggering Progress Unit Type” to get the unit type of the unit being revived. Use “Triggering Progress Unit” to get the unit being revived.

# Arguments

  • unitref [ unit ] — Unit
  • int [ preset::Unit_Progress ] — Stage

Returns — void

native void TriggerAddEventUnitReviveProgress(
	trigger t,
	unitref u,
	int stage,
);

# Event parameters

Category: Unit / Progress And Queues

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L8950
TriggerAddEventUnitReviveProgress(libCOUI_gt_CU_TychusSquadMemberReviveQueued, null, c_unitProgressStageStart)
// L8997
TriggerAddEventUnitReviveProgress(libCOUI_gt_CU_TychusSquadMemberReviveCancelled, null, c_unitProgressStageCancel)