# Unit Rally Point Target Unit
Grammar — Rally point target unit of point point with target target for unit
Flags —Native
|Function
Returns the target unit of a rally point.
# Arguments
unit
— Unitint
— Pointint
— Target
Returns — unit
native unit UnitRallyPointTargetUnit(
unit inUnit,
int inPoint,
int inTarget,
);
# Related
Category: Unit / Orders
- Triggering Order —
order
— EventUnitOrder - Issue Order —
bool
— UnitIssueOrder - Issue Order To Unit Group —
bool
— UnitGroupIssueOrder - Unit Order Count —
int
— UnitOrderCount - Unit Order —
order
— UnitOrder - Unit Order Is Acquired —
bool
— UnitOrderIsAcquired - Unit Has Order With Ability —
bool
— UnitOrderHasAbil - Unit Is Issued Order —
void
— TriggerAddEventUnitOrder - Unit Becomes Idle —
void
— TriggerAddEventUnitBecomesIdle - Wait Until Unit Becomes Idle —
void
— UnitWaitUntilIdle - Wait Until Unit Group Becomes Idle —
void
— UnitGroupWaitUntilIdle - Unit Rally Point —
int
— UnitRallyPoint - Unit Rally Point Count —
int
— UnitRallyPointCount - Unit Rally Point Target Count —
int
— UnitRallyPointTargetCount - Unit Rally Point Target Point —
point
— UnitRallyPointTargetPoint - Unit Rally Point Target Unit —
unit
— UnitRallyPointTargetUnit - Unit Order Get Progress —
fixed
— UnitOrderGetProgress
# Examples
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:17946
lv_reviver = libCOMI_gv_cM_HeroReviver[lv_dehakaplayer];
lv_rallyPoint = UnitRallyPointTargetPoint(lv_reviver, 1, 1);
lv_rallyUnit = UnitRallyPointTargetUnit(lv_reviver, 1, 1);
// Actions
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:17997
lv_reviver = libCOMI_gv_cM_HeroReviver[lv_dehakaplayer];
lv_rallyPoint = UnitRallyPointTargetPoint(lv_reviver, 1, 1);
lv_rallyUnit = UnitRallyPointTargetUnit(lv_reviver, 1, 1);
// Actions