# Revive Order Targeting Point
Grammar — abilCmd targeting p reviving unit reviveUnit
Flags —Function
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 Commandpoint
— Target Pointunit
— Revive Unit
Returns — order
order libNtve_gf_ReviveOrderTargetingPoint(
abilcmd lp_abilCmd,
point lp_p,
unit lp_reviveUnit,
);
# Related
Category: Order / Orders To Be Issued
- Order Targeting Item —
order
— OrderTargetingItem - Order Targeting Point —
order
— OrderTargetingPoint - Revive Order Targeting Point —
order
— libNtve_gf_ReviveOrderTargetingPoint - Order Targeting Relative Points —
order
— OrderTargetingRelativePoint - Order Targeting Unit —
order
— OrderTargetingUnit - Order Targeting Unit Group —
order
— OrderTargetingUnitGroup - Order Targeting Valid Unit In Group —
order
— AIUnitGroupGetValidOrder - Order With No Target —
order
— Order - Revive Order With No Target —
order
— libNtve_gf_ReviveOrderWithNoTarget - Change Autocast Mode —
order
— OrderSetAutoCast - Order Set Target Item —
void
— OrderSetTargetItem - Order Set Target Unit —
void
— OrderSetTargetUnit - Order Set Target Point —
void
— OrderSetTargetPoint - Order Set Target Passenger —
void
— OrderSetTargetPassenger
# Examples
mods/novastoryassets.sc2mod — base.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.sc2mod — base.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.sc2map — MapScript.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.sc2map — MapScript.galaxy:2356
}
else if (true) {
UnitIssueOrder(autoDCF73225_var, libNtve_gf_ReviveOrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(642)), EventUnit()), c_orderQueueReplace);
}
}
mods/starcoop/starcoop.sc2mod — base.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;