# Revive Order Targeting Point

GrammarabilCmd targeting p reviving unit reviveUnit
FlagsFunction

Returns an order targeting a point and will revive a specific unit. This is primarily for use in “Issue Order To Unit Group” actions.

# Arguments

  • abilcmd — Ability Command
  • point — Target Point
  • unit — Revive Unit

Returns — order

order libNtve_gf_ReviveOrderTargetingPoint(
	abilcmd lp_abilCmd,
	point lp_p,
	unit lp_reviveUnit,
);

Category: Order / Orders To Be Issued

# Examples

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L1680
libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(945)), EventUnit())
// L2183
libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(642)), EventUnit())
// L1680
libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(945)), EventUnit())
// L2183
libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(642)), EventUnit())

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L8081
libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("NovaRevive", 20), libCOMI_gv_cM_HeroReviveTargetLocation[lp_player], libCOMI_gv_cM_HeroUnit[lp_player])