# 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

Returns — void

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

# Event parameters

Category: Unit / Progress And Queues

# Examples

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

    libCOUI_gt_CU_TychusSquadMemberReviveQueued = TriggerCreate("libCOUI_gt_CU_TychusSquadMemberReviveQueued_Func");
    TriggerEnable(libCOUI_gt_CU_TychusSquadMemberReviveQueued, false);
    TriggerAddEventUnitReviveProgress(libCOUI_gt_CU_TychusSquadMemberReviveQueued, null, c_unitProgressStageStart);
}

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

    libCOUI_gt_CU_TychusSquadMemberReviveCancelled = TriggerCreate("libCOUI_gt_CU_TychusSquadMemberReviveCancelled_Func");
    TriggerEnable(libCOUI_gt_CU_TychusSquadMemberReviveCancelled, false);
    TriggerAddEventUnitReviveProgress(libCOUI_gt_CU_TychusSquadMemberReviveCancelled, null, c_unitProgressStageCancel);
}