# Unit Rally Point Target Unit

Grammar — Rally point target unit of point point with target target for unit
FlagsNative | Function

Returns the target unit of a rally point.

# Arguments

  • unit — Unit
  • int — Point
  • int — Target

Returns — unit

native unit UnitRallyPointTargetUnit(
	unit inUnit,
	int inPoint,
	int inTarget,
);

Category: Unit / Orders

# Examples

mods/starcoop/starcoop.sc2modbase.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.sc2modbase.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