# Unit Is Revived

Grammaru is revived
FlagsNative | Event

This event fires when a unit is revived. Use “Triggering Unit” to get the unit that was revived.

# Arguments

  • unitref<unit> — Unit

Returns — void

native void TriggerAddEventUnitRevive(
	trigger t,
	unitref u,
);

# Event parameters

Category: Unit / Combat

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:4200

void gt_RespawnDehakaReinforcements_Init () {
    gt_RespawnDehakaReinforcements = TriggerCreate("gt_RespawnDehakaReinforcements_Func");
    TriggerAddEventUnitRevive(gt_RespawnDehakaReinforcements, UnitRefFromVariable("gv_dEHAKA"));
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2mapMapScript.galaxy:4200

void gt_RespawnDehakaReinforcements_Init () {
    gt_RespawnDehakaReinforcements = TriggerCreate("gt_RespawnDehakaReinforcements_Func");
    TriggerAddEventUnitRevive(gt_RespawnDehakaReinforcements, UnitRefFromVariable("gv_dEHAKA"));
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4832

void gt_StukovRevivesAfterCooldown_Init () {
    gt_StukovRevivesAfterCooldown = TriggerCreate("gt_StukovRevivesAfterCooldown_Func");
    TriggerAddEventUnitRevive(gt_StukovRevivesAfterCooldown, UnitRefFromVariable("gv_stukov"));
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:5052

void gt_KerriganRevivesAfterCooldown_Init () {
    gt_KerriganRevivesAfterCooldown = TriggerCreate("gt_KerriganRevivesAfterCooldown_Func");
    TriggerAddEventUnitRevive(gt_KerriganRevivesAfterCooldown, UnitRefFromVariable("gv_kerrigan"));
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:4832

void gt_StukovRevivesAfterCooldown_Init () {
    gt_StukovRevivesAfterCooldown = TriggerCreate("gt_StukovRevivesAfterCooldown_Func");
    TriggerAddEventUnitRevive(gt_StukovRevivesAfterCooldown, UnitRefFromVariable("gv_stukov"));
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:5052

void gt_KerriganRevivesAfterCooldown_Init () {
    gt_KerriganRevivesAfterCooldown = TriggerCreate("gt_KerriganRevivesAfterCooldown_Func");
    TriggerAddEventUnitRevive(gt_KerriganRevivesAfterCooldown, UnitRefFromVariable("gv_kerrigan"));
}

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:6054

void libPEB1_gt_MurkyRevive_Init () {
    libPEB1_gt_MurkyRevive = TriggerCreate("libPEB1_gt_MurkyRevive_Func");
    TriggerAddEventUnitRevive(libPEB1_gt_MurkyRevive, null);
}

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:11687

void libPEB1_gt_HeroRevived_Init () {
    libPEB1_gt_HeroRevived = TriggerCreate("libPEB1_gt_HeroRevived_Func");
    TriggerAddEventUnitRevive(libPEB1_gt_HeroRevived, null);
}

mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmodbase.stormdata/LibBBAY.galaxy:1319

    libBBAY_gt_MMBBCannonballsHeroRespawns = TriggerCreate("libBBAY_gt_MMBBCannonballsHeroRespawns_Func");
    TriggerEnable(libBBAY_gt_MMBBCannonballsHeroRespawns, false);
    TriggerAddEventUnitRevive(libBBAY_gt_MMBBCannonballsHeroRespawns, null);
}

mods/heromods/tracer.stormmodbase.stormdata/LibTrac.galaxy:1311

    libTrac_gt_HeroTracerUpdateRecallPointsonRevive = TriggerCreate("libTrac_gt_HeroTracerUpdateRecallPointsonRevive_Func");
    TriggerEnable(libTrac_gt_HeroTracerUpdateRecallPointsonRevive, false);
    TriggerAddEventUnitRevive(libTrac_gt_HeroTracerUpdateRecallPointsonRevive, null);
}

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

    libCOMI_gt_CM_KaraxUnitReviveBarrier = TriggerCreate("libCOMI_gt_CM_KaraxUnitReviveBarrier_Func");
    TriggerEnable(libCOMI_gt_CM_KaraxUnitReviveBarrier, false);
    TriggerAddEventUnitRevive(libCOMI_gt_CM_KaraxUnitReviveBarrier, null);
}

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

void libCOMI_gt_CM_HeroReviveQueue_HeroRevived_Init () {
    libCOMI_gt_CM_HeroReviveQueue_HeroRevived = TriggerCreate("libCOMI_gt_CM_HeroReviveQueue_HeroRevived_Func");
    TriggerAddEventUnitRevive(libCOMI_gt_CM_HeroReviveQueue_HeroRevived, null);
}