# Target Point For Order
Grammar — Target point for o
Flags —Native
|Function
Returns the target for the order if the target is a point.
# Arguments
order
— Order
Returns — point
native point OrderGetTargetPoint(order inOrder);
# Related
Category: Order / Order Properties
- Player For Order —
int
— OrderGetPlayer - Ability Command For Order —
abilcmd
— OrderGetAbilityCommand - Flag Is Enabled For Order —
bool
— OrderGetFlag - Target Item For Order —
unit
— OrderGetTargetItem - Target Point For Order —
point
— OrderGetTargetPoint - Target Position For Order —
point
— OrderGetTargetPosition - Target Type For Order —
int
<preset::OrderTargetType> — OrderGetTargetType - Target Unit For Order —
unit
— OrderGetTargetUnit - Order Is Valid —
bool
— UnitOrderIsValid - Order Set Flag —
void
— OrderSetFlag
# Examples
campaigns/liberty.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:130
}
loc = OrderGetTargetPoint(curOrd);
loop = UnitGroupCount(scanGroup, c_unitCountAll);
while (loop > 0) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3679
lv_order = UnitOrder(lp_unit, lv_orderIndex);
if ((AbilityCommandGetAbility(OrderGetAbilityCommand(lv_order)) == "move")) {
return OrderGetTargetPoint(lv_order);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3900
}
if (!((OrderGetTargetPoint(EventUnitOrder()) != null))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4753
}
if (!((OrderGetTargetPoint(EventUnitOrder()) != null))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4757
}
if (!((DistanceBetweenPoints(OrderGetTargetPoint(EventUnitOrder()), RegionGetCenter(RegionFromId(59))) <= 5.0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5282
}
if (!((OrderGetTargetPoint(EventUnitOrder()) != null))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5286
}
if (!((DistanceBetweenPoints(OrderGetTargetPoint(EventUnitOrder()), RegionGetCenter(RegionFromId(59))) <= 5.0))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:869
}
if ((OrderGetTargetPoint(EventUnitOrder()) == RegionGetCenter(RegionFromId(1)))) {
libNtve_gf_KillModel(gv_chokeGhostDepot1);
TriggerEnable(TriggerGetCurrent(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:893
}
if ((OrderGetTargetPoint(EventUnitOrder()) == RegionGetCenter(RegionFromId(2)))) {
libNtve_gf_KillModel(gv_chokeGhostDepot2);
TriggerEnable(TriggerGetCurrent(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:917
}
if ((OrderGetTargetPoint(EventUnitOrder()) == PointFromId(32))) {
libNtve_gf_KillModel(gv_chokeGhostBarracks);
TriggerEnable(TriggerGetCurrent(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3679
lv_order = UnitOrder(lp_unit, lv_orderIndex);
if ((AbilityCommandGetAbility(OrderGetAbilityCommand(lv_order)) == "move")) {
return OrderGetTargetPoint(lv_order);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3900
}
if (!((OrderGetTargetPoint(EventUnitOrder()) != null))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:4753
}
if (!((OrderGetTargetPoint(EventUnitOrder()) != null))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:4757
}
if (!((DistanceBetweenPoints(OrderGetTargetPoint(EventUnitOrder()), RegionGetCenter(RegionFromId(59))) <= 5.0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:5282
}
if (!((OrderGetTargetPoint(EventUnitOrder()) != null))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:5286
}
if (!((DistanceBetweenPoints(OrderGetTargetPoint(EventUnitOrder()), RegionGetCenter(RegionFromId(59))) <= 5.0))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:869
}
if ((OrderGetTargetPoint(EventUnitOrder()) == RegionGetCenter(RegionFromId(1)))) {
libNtve_gf_KillModel(gv_chokeGhostDepot1);
TriggerEnable(TriggerGetCurrent(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:893
}
if ((OrderGetTargetPoint(EventUnitOrder()) == RegionGetCenter(RegionFromId(2)))) {
libNtve_gf_KillModel(gv_chokeGhostDepot2);
TriggerEnable(TriggerGetCurrent(), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:917
}
if ((OrderGetTargetPoint(EventUnitOrder()) == PointFromId(32))) {
libNtve_gf_KillModel(gv_chokeGhostBarracks);
TriggerEnable(TriggerGetCurrent(), false);
campaigns/swarm.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:130
}
loc = OrderGetTargetPoint(curOrd);
loop = UnitGroupCount(scanGroup, c_unitCountAll);
while (loop > 0) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:5964
}
if (!(((OrderGetTargetPoint(EventUnitOrder()) != null) && (RegionContainsPoint(RegionCircle(UnitGetPosition(gv_vALERIAN), 1.0), OrderGetTargetPoint(EventUnitOrder())) == true)))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:5964
}
if (!(((OrderGetTargetPoint(EventUnitOrder()) != null) && (RegionContainsPoint(RegionCircle(UnitGetPosition(gv_vALERIAN), 1.0), OrderGetTargetPoint(EventUnitOrder())) == true)))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:5964
}
if (!(((OrderGetTargetPoint(EventUnitOrder()) != null) && (RegionContainsPoint(RegionCircle(UnitGetPosition(gv_vALERIAN), 1.0), OrderGetTargetPoint(EventUnitOrder())) == true)))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:5964
}
if (!(((OrderGetTargetPoint(EventUnitOrder()) != null) && (RegionContainsPoint(RegionCircle(UnitGetPosition(gv_vALERIAN), 1.0), OrderGetTargetPoint(EventUnitOrder())) == true)))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:4144
}
if ((OrderGetAbilityCommand(UnitOrder(gv_basic01Marine, 0)) == AbilityCommand("move", 0)) && (OrderGetTargetType(UnitOrder(gv_basic01Marine, 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(6), OrderGetTargetPoint(UnitOrder(gv_basic01Marine, 0))) < 2.0)) {
gf_DestroyTutorialTextTag();
if ((TriggerActiveCount(gt_BasicMoveUnitIntroQ) == 0)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:4411
gf_ResetReminderTimer();
gv_basic03LastOrderTime = GameGetMissionTime();
if ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(64), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) {
gf_TutorialUnpause();
TransmissionClearAll();
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:4451
TriggerExecute(gt_BasicAttackCanceledOrderQ, true, false);
}
else if ((((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) != c_orderTargetPoint)) || ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(64), OrderGetTargetPoint(EventUnitOrder())) >= 2.0)))) {
gf_SilenceQ();
TriggerExecute(gt_BasicAttackWrongTargetQ, true, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5356
gf_ResetReminderTimer();
gv_basic08LastOrderTime = GameGetMissionTime();
if ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(62), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) {
gf_TutorialUnpause();
TransmissionClearAll();
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5405
TriggerExecute(gt_BasicAttackGroupCanceledOrderQ, true, false);
}
else if ((((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) != c_orderTargetPoint)) || ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(62), OrderGetTargetPoint(EventUnitOrder())) >= 2.0)))) {
gf_SilenceQ();
TriggerExecute(gt_BasicAttackGroupWrongTargetQ, true, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:8895
UnitGroupLoopBegin(UnitGroup("Marine", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("move", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(38), OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) < 2.0)) {
lv_validOrder = true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9277
UnitGroupLoopBegin(lv_currentMarineGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((lv_attackBeaconLocation != null) && (((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetUnit) && (UnitGetOwner(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) != gv_p01_USER)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(lv_attackBeaconLocation, OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) < 4.0)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (PointGetX(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetX(lv_attackBeaconLocation)) && (PointGetY(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetY(lv_attackBeaconLocation))))) {
lv_validOrder = true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9277
UnitGroupLoopBegin(lv_currentMarineGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((lv_attackBeaconLocation != null) && (((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetUnit) && (UnitGetOwner(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) != gv_p01_USER)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(lv_attackBeaconLocation, OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) < 4.0)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (PointGetX(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetX(lv_attackBeaconLocation)) && (PointGetY(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetY(lv_attackBeaconLocation))))) {
lv_validOrder = true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9277
UnitGroupLoopBegin(lv_currentMarineGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((lv_attackBeaconLocation != null) && (((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetUnit) && (UnitGetOwner(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) != gv_p01_USER)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(lv_attackBeaconLocation, OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) < 4.0)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (PointGetX(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetX(lv_attackBeaconLocation)) && (PointGetY(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetY(lv_attackBeaconLocation))))) {
lv_validOrder = true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:14628
}
if ((((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(546), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) || ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (PointGetX(OrderGetTargetPoint(EventUnitOrder())) < PointGetX(PointFromId(546))) && (PointGetY(OrderGetTargetPoint(EventUnitOrder())) > PointGetY(PointFromId(546)))))) {
gf_StopReminderTimer();
if ((UnitIsAlive(gv_zergAttackBeacon) == true)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:2410
auto50687FF9_var = UnitGroupUnitFromEnd(auto50687FF9_g, auto50687FF9_u);
if (auto50687FF9_var == null) { break; }
if ((OrderGetAbilityCommand(UnitOrder(auto50687FF9_var, 0)) == AbilityCommand("ProtossBuild", 1)) && (DistanceBetweenPoints(OrderGetTargetPoint(UnitOrder(auto50687FF9_var, 0)), UnitGetPosition(UnitGroupUnit(gv_tBuildPylonGateways, 1))) <= 6.5)) {
lv_gatewayValid1 = true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:2414
}
if ((OrderGetAbilityCommand(UnitOrder(auto50687FF9_var, 0)) == AbilityCommand("ProtossBuild", 1)) && (DistanceBetweenPoints(OrderGetTargetPoint(UnitOrder(auto50687FF9_var, 0)), UnitGetPosition(UnitGroupUnit(gv_tBuildPylonGateways, 2))) <= 6.5)) {
lv_gatewayValid2 = true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:1761
while (true) {
if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())) > 8.0) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitIssueOrder(gv_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), PointWithOffsetPolar(UnitGetPosition(gv_alarak), 3.0, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())))), c_orderQueueReplace);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:1761
while (true) {
if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())) > 8.0) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitIssueOrder(gv_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), PointWithOffsetPolar(UnitGetPosition(gv_alarak), 3.0, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())))), c_orderQueueReplace);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:1761
while (true) {
if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())) > 8.0) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitIssueOrder(gv_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), PointWithOffsetPolar(UnitGetPosition(gv_alarak), 3.0, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())))), c_orderQueueReplace);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:1762
while (true) {
if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())) > 8.0) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitIssueOrder(gv_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), PointWithOffsetPolar(UnitGetPosition(gv_alarak), 3.0, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())))), c_orderQueueReplace);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:4144
}
if ((OrderGetAbilityCommand(UnitOrder(gv_basic01Marine, 0)) == AbilityCommand("move", 0)) && (OrderGetTargetType(UnitOrder(gv_basic01Marine, 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(6), OrderGetTargetPoint(UnitOrder(gv_basic01Marine, 0))) < 2.0)) {
gf_DestroyTutorialTextTag();
if ((TriggerActiveCount(gt_BasicMoveUnitIntroQ) == 0)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:4411
gf_ResetReminderTimer();
gv_basic03LastOrderTime = GameGetMissionTime();
if ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(64), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) {
gf_TutorialUnpause();
TransmissionClearAll();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:4451
TriggerExecute(gt_BasicAttackCanceledOrderQ, true, false);
}
else if ((((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) != c_orderTargetPoint)) || ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(64), OrderGetTargetPoint(EventUnitOrder())) >= 2.0)))) {
gf_SilenceQ();
TriggerExecute(gt_BasicAttackWrongTargetQ, true, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5356
gf_ResetReminderTimer();
gv_basic08LastOrderTime = GameGetMissionTime();
if ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(62), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) {
gf_TutorialUnpause();
TransmissionClearAll();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5405
TriggerExecute(gt_BasicAttackGroupCanceledOrderQ, true, false);
}
else if ((((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) != c_orderTargetPoint)) || ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(62), OrderGetTargetPoint(EventUnitOrder())) >= 2.0)))) {
gf_SilenceQ();
TriggerExecute(gt_BasicAttackGroupWrongTargetQ, true, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:8895
UnitGroupLoopBegin(UnitGroup("Marine", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("move", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(38), OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) < 2.0)) {
lv_validOrder = true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:9277
UnitGroupLoopBegin(lv_currentMarineGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((lv_attackBeaconLocation != null) && (((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetUnit) && (UnitGetOwner(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) != gv_p01_USER)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(lv_attackBeaconLocation, OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) < 4.0)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (PointGetX(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetX(lv_attackBeaconLocation)) && (PointGetY(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetY(lv_attackBeaconLocation))))) {
lv_validOrder = true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:9277
UnitGroupLoopBegin(lv_currentMarineGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((lv_attackBeaconLocation != null) && (((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetUnit) && (UnitGetOwner(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) != gv_p01_USER)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(lv_attackBeaconLocation, OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) < 4.0)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (PointGetX(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetX(lv_attackBeaconLocation)) && (PointGetY(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetY(lv_attackBeaconLocation))))) {
lv_validOrder = true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:9277
UnitGroupLoopBegin(lv_currentMarineGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((lv_attackBeaconLocation != null) && (((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetUnit) && (UnitGetOwner(OrderGetTargetUnit(UnitOrder(UnitGroupLoopCurrent(), 0))) != gv_p01_USER)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (DistanceBetweenPoints(lv_attackBeaconLocation, OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) < 4.0)) || ((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("attack", 0)) && (OrderGetTargetType(UnitOrder(UnitGroupLoopCurrent(), 0)) == c_orderTargetPoint) && (PointGetX(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetX(lv_attackBeaconLocation)) && (PointGetY(OrderGetTargetPoint(UnitOrder(UnitGroupLoopCurrent(), 0))) > PointGetY(lv_attackBeaconLocation))))) {
lv_validOrder = true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:14628
}
if ((((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (DistanceBetweenPoints(PointFromId(546), OrderGetTargetPoint(EventUnitOrder())) < 2.0)) || ((OrderGetAbilityCommand(EventUnitOrder()) == AbilityCommand("attack", 0)) && (OrderGetTargetType(EventUnitOrder()) == c_orderTargetPoint) && (PointGetX(OrderGetTargetPoint(EventUnitOrder())) < PointGetX(PointFromId(546))) && (PointGetY(OrderGetTargetPoint(EventUnitOrder())) > PointGetY(PointFromId(546)))))) {
gf_StopReminderTimer();
if ((UnitIsAlive(gv_zergAttackBeacon) == true)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2map — MapScript.galaxy:2410
auto50687FF9_var = UnitGroupUnitFromEnd(auto50687FF9_g, auto50687FF9_u);
if (auto50687FF9_var == null) { break; }
if ((OrderGetAbilityCommand(UnitOrder(auto50687FF9_var, 0)) == AbilityCommand("ProtossBuild", 1)) && (DistanceBetweenPoints(OrderGetTargetPoint(UnitOrder(auto50687FF9_var, 0)), UnitGetPosition(UnitGroupUnit(gv_tBuildPylonGateways, 1))) <= 6.5)) {
lv_gatewayValid1 = true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2map — MapScript.galaxy:2414
}
if ((OrderGetAbilityCommand(UnitOrder(auto50687FF9_var, 0)) == AbilityCommand("ProtossBuild", 1)) && (DistanceBetweenPoints(OrderGetTargetPoint(UnitOrder(auto50687FF9_var, 0)), UnitGetPosition(UnitGroupUnit(gv_tBuildPylonGateways, 2))) <= 6.5)) {
lv_gatewayValid2 = true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:1761
while (true) {
if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())) > 8.0) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitIssueOrder(gv_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), PointWithOffsetPolar(UnitGetPosition(gv_alarak), 3.0, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())))), c_orderQueueReplace);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:1761
while (true) {
if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())) > 8.0) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitIssueOrder(gv_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), PointWithOffsetPolar(UnitGetPosition(gv_alarak), 3.0, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())))), c_orderQueueReplace);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:1761
while (true) {
if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())) > 8.0) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitIssueOrder(gv_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), PointWithOffsetPolar(UnitGetPosition(gv_alarak), 3.0, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())))), c_orderQueueReplace);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:1762
while (true) {
if ((DistanceBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())) > 8.0) && ((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_AMONS_FORCES, RegionCircle(PointWithOffsetPolar(UnitGetPosition(gv_alarak), 1.5, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder()))), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitIssueOrder(gv_alarak, OrderTargetingPoint(AbilityCommand("AlarakKnockback", 0), PointWithOffsetPolar(UnitGetPosition(gv_alarak), 3.0, AngleBetweenPoints(UnitGetPosition(gv_alarak), OrderGetTargetPoint(EventUnitOrder())))), c_orderQueueReplace);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4618
}
lv_targetPoint = OrderGetTargetPoint(EventUnitOrder());
if ((VisIsVisibleForPlayer(1, lv_targetPoint) == false)) {
return true;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4687
libVCMI_gv_pM_SoATargetingCycling = true;
lv_targetPoint = OrderGetTargetPoint(EventUnitOrder());
libNtve_gf_CreateActorAtPoint("SOATargetingModeConfirmationSound", lv_targetPoint);
ActorSend(libVCMI_gv_pM_SoATargetingActors[libVCMI_gv_pM_SoATargetingChargesSpent], "Signal Destroy");
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactProtAI.galaxy:1509
}
targetPoint = OrderGetTargetPoint(curOrder);
if (targetPoint == null) {
return null;
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:166
}
loc = OrderGetTargetPoint(curOrd);
loop = UnitGroupCount(scanGroup, c_unitCountAll);
while (loop > 0) {
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:515
}
targetPoint = OrderGetTargetPoint(curOrder);
if (targetPoint == null) {
return null;
mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod — base.stormdata/LibMHPP.galaxy:408
}
else {
if ((OrderGetTargetPoint(UnitOrder(lp_payloadUnit, 0)) == libMHPP_gv_payloadPath.lv_path[(lv_currentDestinationPointIndex + 1)])) {
if ((libMHPP_gv_payloadPath.lv_pathPointIsWaypoint[lv_currentDestinationPointIndex] == true) && (lv_currentDestinationPointIndex != libMHPP_gv_payloadPath.lv_lastCheckpointReachedIndex)) {
libMHPP_gv_payload.lv_futureCheckPointIndex += 1;
mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod — base.stormdata/LibMHPP.galaxy:508
}
else {
if ((OrderGetTargetPoint(UnitOrder(lp_payloadUnit, 0)) == libMHPP_gv_payloadPath.lv_path[(lv_currentDestinationPointIndex - 1)])) {
libMHPP_gv_payloadPath.lv_payloadCurrentIndex -= 1;
lv_currentDestinationPointIndex -= 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:432
lv_currentOrder = UnitOrder(lv_defenderUnit, 0);
lv_currentAbilityCommand = OrderGetAbilityCommand(lv_currentOrder);
if (((lv_currentOrder == null) || (lv_currentAbilityCommand != libAIAI_gv_aIMoveAbil) || (OrderGetTargetType(lv_currentOrder) != c_orderTargetPoint) || (OrderGetTargetPoint(lv_currentOrder) != libAIAI_gv_defenderAI[lp_defenderAIIndex].lv_leashPositions[lv_unitIndex]))) {
UnitIssueOrder(lv_defenderUnit, OrderTargetingPoint(libAIAI_gv_aIMoveAbil, libAIAI_gv_defenderAI[lp_defenderAIIndex].lv_leashPositions[lv_unitIndex]), c_orderQueueReplace);
UnitIssueOrder(lv_defenderUnit, OrderTargetingPoint(libAIAI_gv_aITurnAbil, PointWithOffsetPolar(libAIAI_gv_defenderAI[lp_defenderAIIndex].lv_leashPositions[lv_unitIndex], 1.0, PointGetFacing(libAIAI_gv_defenderAI[lp_defenderAIIndex].lv_leashPositions[lv_unitIndex]))), c_orderQueueAddToEnd);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:3234
}
else {
libNtve_gf_MakeUnitFacePoint(lv_misha, OrderGetTargetPoint(UnitOrder(lv_rexxar, 0)), 0.2);
}
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:6099
libGDHL_gv_heroArtanisPhasePrismBoolean[lv_player] = true;
UnitCreateEffectPointWithSource(lv_unit, "ArtanisPhasePrismInitialSet", OrderGetTargetPoint(EventUnitOrder()), c_gameCatalogAbil, "ArtanisPhasePrism");
UnitCreateEffectUnitWithSource(lv_unit, "ArtanisBladeDashPhasePrismModifyCooldown", lv_unit, c_gameCatalogAbil, "ArtanisPhasePrism");
UnitCreateEffectUnitWithSource(lv_unit, "ArtanisPhasePrismCancelOrder", lv_unit, c_gameCatalogAbil, "ArtanisPhasePrism");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11422
lv_i = 1;
for ( ; ( (auto0B10A829_ai >= 0 && lv_i <= auto0B10A829_ae) || (auto0B10A829_ai < 0 && lv_i >= auto0B10A829_ae) ) ; lv_i += auto0B10A829_ai ) {
if ((OrderGetTargetType(UnitOrder(lv_eTC, 0)) == c_orderTargetPoint) && (OrderGetTargetPoint(UnitOrder(lv_eTC, 0)) != null) && (DistanceBetweenPoints(lv_k, lv_t) < 1)) {
UnitBehaviorRemove(EventUnit(), "Powerslide", 1);
break;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11727
}
else {
if ((DistanceBetweenPoints(UnitGetPosition(lv_cloudSerpent), OrderGetTargetPoint(UnitOrder(lv_cloudSerpent, 0))) <= 1.5) && (DistanceBetweenPoints(UnitGetPosition(lv_cloudSerpent), UnitGetPosition(lv_owningUnit)) > 2.0)) {
UnitIssueOrder(lv_cloudSerpent, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_owningUnit), 1.0, UnitGetFacing(lv_owningUnit))), c_orderQueueReplace);
UnitBehaviorAdd(lv_cloudSerpent, "CloudSerpentMinionSpeedBoost", lv_cloudSerpent, 1);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11819
if ((OrderGetAbilityCommand(UnitOrder(lv_owningUnit, 0)) == AbilityCommand("attack", 0))) {
if ((UnitIsValid(OrderGetTargetUnit(UnitOrder(lv_owningUnit, 0))) == false)) {
if ((OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)) == null)) {
UnitCreateEffectUnit(lv_owningUnit, "CloudSerpentCopyOrders", lv_cloudSerpent);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11823
}
else {
if ((DistanceBetweenPoints(OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), UnitGetPosition(lv_cloudSerpent)) > 3.0)) {
UnitIssueOrder(lv_cloudSerpent, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), 2.0, libNtve_gf_RandomAngle())), c_orderQueueReplace);
lv_currentState = libGDHL_ge_CloudSerpentAIState_Moving;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11824
else {
if ((DistanceBetweenPoints(OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), UnitGetPosition(lv_cloudSerpent)) > 3.0)) {
UnitIssueOrder(lv_cloudSerpent, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), 2.0, libNtve_gf_RandomAngle())), c_orderQueueReplace);
lv_currentState = libGDHL_ge_CloudSerpentAIState_Moving;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11828
}
else {
libNtve_gf_MakeUnitFacePoint(lv_cloudSerpent, OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), 0.2);
}
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11842
if ((OrderGetAbilityCommand(UnitOrder(lv_owningUnit, 0)) == AbilityCommand("move", 0))) {
if ((DistanceBetweenPoints(OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), UnitGetPosition(lv_cloudSerpent)) > 3.0)) {
UnitIssueOrder(lv_cloudSerpent, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), 2.0, libNtve_gf_RandomAngle())), c_orderQueueReplace);
lv_currentState = libGDHL_ge_CloudSerpentAIState_Moving;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:11843
if ((OrderGetAbilityCommand(UnitOrder(lv_owningUnit, 0)) == AbilityCommand("move", 0))) {
if ((DistanceBetweenPoints(OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), UnitGetPosition(lv_cloudSerpent)) > 3.0)) {
UnitIssueOrder(lv_cloudSerpent, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(OrderGetTargetPoint(UnitOrder(lv_owningUnit, 0)), 2.0, libNtve_gf_RandomAngle())), c_orderQueueReplace);
lv_currentState = libGDHL_ge_CloudSerpentAIState_Moving;
}
mods/heroesmapmods/battlegroundmapmods/hanamura.stormmod — base.stormdata/LibNPLD.galaxy:170
}
if ((OrderGetTargetPoint(UnitOrder(libNPLD_gv_neutralPayload.lv_unit, 0)) == libNPLD_gv_neutralPayload.lv_pathWaypoints[lp_team][lv_pathIndex_Team][(libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lp_team] + 2)]) && (libNPLD_gv_neutralPayload.lv_pathWaypoints[lp_team][lv_pathIndex_Team][(libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lp_team] + 2)] != null)) {
libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lp_team] += 1;
if ((libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lv_enemyTeam] >= 1)) {
mods/heroesmapmods/battlegroundmapmods/hanamura.stormmod — base.stormdata/LibNPLD.galaxy:179
}
if ((libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lv_enemyTeam] >= 1) && (OrderGetTargetPoint(UnitOrder(libNPLD_gv_neutralPayload.lv_unit, 0)) == libNPLD_gv_neutralPayload.lv_pathWaypoints[lv_enemyTeam][lv_pathIndex_Enemy_Team][(libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lv_enemyTeam] - 0)]) && (libNtve_gf_UnitInRegion(libNPLD_gv_neutralPayload.lv_unit, RegionCircle(OrderGetTargetPoint(UnitOrder(libNPLD_gv_neutralPayload.lv_unit, 0)), 0.25)) == true)) {
libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lv_enemyTeam] -= 1;
}
mods/heroesmapmods/battlegroundmapmods/hanamura.stormmod — base.stormdata/LibNPLD.galaxy:179
}
if ((libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lv_enemyTeam] >= 1) && (OrderGetTargetPoint(UnitOrder(libNPLD_gv_neutralPayload.lv_unit, 0)) == libNPLD_gv_neutralPayload.lv_pathWaypoints[lv_enemyTeam][lv_pathIndex_Enemy_Team][(libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lv_enemyTeam] - 0)]) && (libNtve_gf_UnitInRegion(libNPLD_gv_neutralPayload.lv_unit, RegionCircle(OrderGetTargetPoint(UnitOrder(libNPLD_gv_neutralPayload.lv_unit, 0)), 0.25)) == true)) {
libNPLD_gv_neutralPayload.lv_pathWaypoints_LastWaypointReached[lv_enemyTeam] -= 1;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:29029
}
lv_targetPoint = OrderGetTargetPoint(EventUnitOrder());
lv_casterPlayer = EventPlayer();
if ((VisIsVisibleForPlayer(lv_casterPlayer, lv_targetPoint) == false)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:29109
lv_casterPlayer = EventPlayer();
libCOMI_gv_cM_SoATargetingCycling[lv_casterPlayer] = true;
lv_targetPoint = OrderGetTargetPoint(EventUnitOrder());
libCOMI_gv_cM_SoATargetingUnrefundableStageEntered[lv_casterPlayer] = true;
libNtve_gf_CreateActorAtPoint("SOATargetingModeConfirmationSound", lv_targetPoint);
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:480
}
loc = OrderGetTargetPoint(curOrd);
loop = UnitGroupCount(scanGroup, c_unitCountAll);
while (loop > 0) {
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:1548
}
loc = OrderGetTargetPoint(curOrd);
loop = UnitGroupCount(scanGroup, c_unitCountAll);
while (loop > 0) {
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactProtAI.galaxy:1510
}
targetPoint = OrderGetTargetPoint(curOrder);
if (targetPoint == null) {
return null;
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:169
}
loc = OrderGetTargetPoint(curOrd);
loop = UnitGroupCount(scanGroup, c_unitCountAll);
while (loop > 0) {
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:495
}
targetPoint = OrderGetTargetPoint(curOrder);
if (targetPoint == null) {
return null;