# Revive Order With No Target

GrammarabilCmd reviving unit reviveUnit
FlagsFunction

Returns an order with no target that will revive a specific unit. This is primarily for use in “Issue Order To Unit Group” actions.

# Arguments

  • abilcmd — Ability Command
  • unit — Revive Unit

Returns — order

order libNtve_gf_ReviveOrderWithNoTarget(
	abilcmd lp_abilCmd,
	unit lp_reviveUnit,
);

Category: Order / Orders To Be Issued

# Examples

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:11293

            ActorSend(libSwaC_gv_zS_KerriganActor, "Destroy");
            libNtve_gf_PlayerRemoveCooldown(1, libSwaC_gv_zSC_HeroReviveLinkKerrigan);
            UnitIssueOrder(libSwaC_gv_zS_HeroReviverKerrigan, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), libSwaC_gv_zS_Kerrigan), c_orderQueueReplace);
            Wait(0.0625, c_timeGame);
            UnitKill(libSwaC_gv_zS_HeroReviverKerrigan);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:11310

        if ((UnitIsAlive(libSwaC_gv_zS_HeroReviverDehaka) == true)) {
            libNtve_gf_PlayerRemoveCooldown(1, libSwaC_gv_zSC_HeroReviveLinkDehaka);
            UnitIssueOrder(libSwaC_gv_zS_HeroReviverDehaka, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("DehakaRevive", 0), libSwaC_gv_zS_Dehaka), c_orderQueueReplace);
            Wait(0.0625, c_timeGame);
            UnitKill(libSwaC_gv_zS_HeroReviverDehaka);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:11323

            libSwaC_gv_zS_HeroReviverDehaka = UnitLastCreated();
            Wait(0.0625, c_timeGame);
            UnitIssueOrder(libSwaC_gv_zS_HeroReviverDehaka, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("DehakaRevive", 0), libSwaC_gv_zS_Dehaka), c_orderQueueReplace);
            Wait(0.0625, c_timeGame);
            UnitKill(libSwaC_gv_zS_HeroReviverDehaka);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:11332

        if ((UnitIsAlive(libSwaC_gv_zS_HeroReviverStukov) == true)) {
            libNtve_gf_PlayerRemoveCooldown(1, libSwaC_gv_zSC_HeroReviveLinkStukov);
            UnitIssueOrder(libSwaC_gv_zS_HeroReviverStukov, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("StukovRevive", 0), libSwaC_gv_zS_Stukov), c_orderQueueReplace);
            Wait(0.125, c_timeGame);
            UnitKill(libSwaC_gv_zS_HeroReviverStukov);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21156


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(libSwaC_gv_zS_HeroReviverKerrigan, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), libSwaC_gv_zS_Kerrigan), c_orderQueueReplace);
    Wait(0.125, c_timeGame);
    auto509A05AA_g = UnitGroupSelected(1);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21223


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(libSwaC_gv_zS_HeroReviverDehaka, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("DehakaRevive", 0), libSwaC_gv_zS_Dehaka), c_orderQueueReplace);
    Wait(0.125, c_timeGame);
    auto1210E5FA_g = UnitGroupSelected(1);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21287


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(libSwaC_gv_zS_HeroReviverStukov, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("StukovRevive", 0), libSwaC_gv_zS_Stukov), c_orderQueueReplace);
    Wait(0.125, c_timeGame);
    autoBAA7F861_g = UnitGroupSelected(1);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:4509


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(gv_kerriganCocoon, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), gv_zeratul), c_orderQueueReplace);
    UnitKill(gv_kerriganCocoon);
    return true;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2mapMapScript.galaxy:4509


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(gv_kerriganCocoon, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), gv_zeratul), c_orderQueueReplace);
    UnitKill(gv_kerriganCocoon);
    return true;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1745

    }
    libNtve_gf_PlayerRemoveCooldown(libVCMI_gv_pM_HeroRevivePlayer[(lv_heroType)], libVCMI_gv_pM_HeroReviveCDLink[(lv_heroType)]);
    UnitIssueOrder(libVCMI_gv_pM_HeroReviverUnit[(lv_heroType)], libNtve_gf_ReviveOrderWithNoTarget(libVCMI_gv_pM_HeroReviveCommand[(lv_heroType)], libVCMI_gv_pM_HeroRevivingUnit[(lv_heroType)]), c_orderQueueReplace);
    Wait(0.0625, c_timeGame);
    UnitKill(libVCMI_gv_pM_HeroReviverUnit[(lv_heroType)]);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1789

    // Implementation
    lv_heroIndex = (lp_heroType);
    UnitIssueOrder(libVCMI_gv_pM_HeroReviverUnit[lv_heroIndex], libNtve_gf_ReviveOrderWithNoTarget(libVCMI_gv_pM_HeroReviveCommand[lv_heroIndex], libVCMI_gv_pM_HeroRevivingUnit[lv_heroIndex]), c_orderQueueReplace);
    Wait(0.125, c_timeGame);
    if ((libVCMI_gv_pM_HeroRevivePlayer[lv_heroIndex] == 1)) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2557

    libNtve_gf_PlayerRemoveCooldown(libNCMI_gv_nM_HeroRevivePlayer[(lv_heroType)], libNCMI_gv_nM_HeroReviveCDLink[(lv_heroType)]);
    if ((UnitIsAlive(libNCMI_gv_nM_HeroReviverUnit[(lv_heroType)]) == true)) {
        UnitIssueOrder(libNCMI_gv_nM_HeroReviverUnit[(lv_heroType)], libNtve_gf_ReviveOrderWithNoTarget(libNCMI_gv_nM_HeroReviveCommand[(lv_heroType)], libNCMI_gv_nM_HeroRevivingUnit[(lv_heroType)]), c_orderQueueReplace);
        Wait(0.0625, c_timeGame);
        UnitKill(libNCMI_gv_nM_HeroReviverUnit[(lv_heroType)]);

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2607

    // Implementation
    lv_heroIndex = (lp_heroType);
    UnitIssueOrder(libNCMI_gv_nM_HeroReviverUnit[lv_heroIndex], libNtve_gf_ReviveOrderWithNoTarget(libNCMI_gv_nM_HeroReviveCommand[lv_heroIndex], libNCMI_gv_nM_HeroRevivingUnit[lv_heroIndex]), c_orderQueueReplace);
    Wait(0.125, c_timeGame);
    if ((libNCMI_gv_nM_HeroRevivePlayer[lv_heroIndex] == 1)) {

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

    }
    else {
        UnitIssueOrder(libCOMI_gv_cM_HeroReviver[lp_player], libNtve_gf_ReviveOrderWithNoTarget(libCOOC_gf_CC_CommanderHeroReviveCommand(libCOOC_gf_ActiveCommanderForPlayer(lp_player)), libCOMI_gv_cM_HeroUnit[lp_player]), c_orderQueueReplace);
        lv_reviveFallbackPoint = UnitGetPosition(libCOMI_gv_cM_HeroReviver[lp_player]);
    }

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

    lv_unitType = (CatalogFieldValueGet(c_gameCatalogAbil, "TychusFakeReviveTrain", "InfoArray[" + IntToString(lv_index) + "].Unit[" + IntToString(0) + "]", lv_p));
    lv_reviveTarget = UnitGroupUnit(UnitGroup(lv_unitType, lv_p, RegionEntireMap(), UnitFilter(0, (1 << (c_targetFilterDead - 32)), 0, 0), 1), 1);
    lv_orderReal = libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("TychusReviveHeroes", 0), lv_reviveTarget);

    // Actions