# 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.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:1806

            }
            else if (true) {
                UnitIssueOrder(autoC2987B0D_var, libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(945)), EventUnit()), c_orderQueueReplace);
            }
        }

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:2356

            }
            else if (true) {
                UnitIssueOrder(autoDCF73225_var, libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(642)), EventUnit()), c_orderQueueReplace);
            }
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:1806

            }
            else if (true) {
                UnitIssueOrder(autoC2987B0D_var, libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(945)), EventUnit()), c_orderQueueReplace);
            }
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:2356

            }
            else if (true) {
                UnitIssueOrder(autoDCF73225_var, libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(642)), EventUnit()), c_orderQueueReplace);
            }
        }

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

    UnitBehaviorAdd(libCOMI_gv_cM_HeroUnit[lp_player], "SuppressCollisionRevive", libCOMI_gv_cM_HeroUnit[lp_player], 1);
    if ((libCOMI_gv_cM_HeroReviveTargetLocation[lp_player] != null)) {
        UnitIssueOrder(libCOMI_gv_cM_HeroReviver[lp_player], libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("NovaRevive", 20), libCOMI_gv_cM_HeroReviveTargetLocation[lp_player], libCOMI_gv_cM_HeroUnit[lp_player]), c_orderQueueReplace);
        lv_reviveFallbackPoint = libCOMI_gv_cM_HeroReviveTargetLocation[lp_player];
        libCOMI_gv_cM_HeroReviveTargetLocation[lp_player] = null;