# 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.sc2campaign

SwarmCampaignLib.galaxy

// L11293
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), libSwaC_gv_zS_Kerrigan)
// L11310
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("DehakaRevive", 0), libSwaC_gv_zS_Dehaka)
// L11323
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("DehakaRevive", 0), libSwaC_gv_zS_Dehaka)
// L11332
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("StukovRevive", 0), libSwaC_gv_zS_Stukov)
// L21156
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), libSwaC_gv_zS_Kerrigan)
// L21223
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("DehakaRevive", 0), libSwaC_gv_zS_Dehaka)
// L21287
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("StukovRevive", 0), libSwaC_gv_zS_Stukov)

# campaigns/void.sc2campaign

MapScript.galaxy

// L4509
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), gv_zeratul)
// L4509
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), gv_zeratul)

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L1745
libNtve_gf_ReviveOrderWithNoTarget(libVCMI_gv_pM_HeroReviveCommand[(lv_heroType)], libVCMI_gv_pM_HeroRevivingUnit[(lv_heroType)])
// L1789
libNtve_gf_ReviveOrderWithNoTarget(libVCMI_gv_pM_HeroReviveCommand[lv_heroIndex], libVCMI_gv_pM_HeroRevivingUnit[lv_heroIndex])

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L2557
libNtve_gf_ReviveOrderWithNoTarget(libNCMI_gv_nM_HeroReviveCommand[(lv_heroType)], libNCMI_gv_nM_HeroRevivingUnit[(lv_heroType)])
// L2607
libNtve_gf_ReviveOrderWithNoTarget(libNCMI_gv_nM_HeroReviveCommand[lv_heroIndex], libNCMI_gv_nM_HeroRevivingUnit[lv_heroIndex])

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L8086
libNtve_gf_ReviveOrderWithNoTarget(libCOOC_gf_CC_CommanderHeroReviveCommand(libCOOC_gf_ActiveCommanderForPlayer(lp_player)), libCOMI_gv_cM_HeroUnit[lp_player])
// L25935
libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("TychusReviveHeroes", 0), lv_reviveTarget)