# Order Targeting Relative Points
Grammar — abilCmd targeting relative points near p
Flags —Native
|Function
Returns an order targeting relative points near a given point. This is primarily for use in “Issue Order To Unit Group” actions.
# Arguments
abilcmd
— Ability Commandpoint
— Target Point
Returns — order
native order OrderTargetingRelativePoint(
abilcmd inAbilCmd,
point inPoint,
);
# 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
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5423
libNtve_gf_PauseUnit(autoDA726F61_var, false);
}
UnitGroupIssueOrder(UnitGroup(null, gv_p01_USER, RegionFromId(8), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(569)), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4502
autoCC094DED_var = UnitGroupUnitFromEnd(autoCC094DED_g, autoCC094DED_u);
if (autoCC094DED_var == null) { break; }
UnitIssueOrder(autoCC094DED_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(126))), c_orderQueueReplace);
}
autoE20FB2BA_g = gv_lab02PrisonerUnitGroup;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4509
autoE20FB2BA_var = UnitGroupUnitFromEnd(autoE20FB2BA_g, autoE20FB2BA_u);
if (autoE20FB2BA_var == null) { break; }
UnitIssueOrder(autoE20FB2BA_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(126))), c_orderQueueReplace);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9206
}
UnitIssueOrder(EventUnit(), OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(52))), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9484
autoD3D75B12_var = UnitGroupUnitFromEnd(autoD3D75B12_g, autoD3D75B12_u);
if (autoD3D75B12_var == null) { break; }
UnitIssueOrder(autoD3D75B12_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(112))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9492
autoE1CD9104_var = UnitGroupUnitFromEnd(autoE1CD9104_g, autoE1CD9104_u);
if (autoE1CD9104_var == null) { break; }
UnitIssueOrder(autoE1CD9104_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(51))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9500
autoD860B59B_var = UnitGroupUnitFromEnd(autoD860B59B_g, autoD860B59B_u);
if (autoD860B59B_var == null) { break; }
UnitIssueOrder(autoD860B59B_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(47))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9508
autoEFECE46F_var = UnitGroupUnitFromEnd(autoEFECE46F_g, autoEFECE46F_u);
if (autoEFECE46F_var == null) { break; }
UnitIssueOrder(autoEFECE46F_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(103))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9516
auto4046689C_var = UnitGroupUnitFromEnd(auto4046689C_g, auto4046689C_u);
if (auto4046689C_var == null) { break; }
UnitIssueOrder(auto4046689C_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(55))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9524
autoC277B8BF_var = UnitGroupUnitFromEnd(autoC277B8BF_g, autoC277B8BF_u);
if (autoC277B8BF_var == null) { break; }
UnitIssueOrder(autoC277B8BF_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(56))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9532
autoF664984A_var = UnitGroupUnitFromEnd(autoF664984A_g, autoF664984A_u);
if (autoF664984A_var == null) { break; }
UnitIssueOrder(autoF664984A_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(57))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5807
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TTychus02TalDarimExecutor00066", -1), c_transmissionDurationAdd, 0.0, false);
Wait((SoundLengthSync(SoundLink("TTychus02TalDarimExecutor00066", -1)) - 2.0), c_timeReal);
UnitGroupIssueOrder(lv_victoryMarinesLeft, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(374)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_victoryMarinesRight, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(376)), c_orderQueueReplace);
UnitIssueOrder(lv_victoryTANK1, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(378)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5808
Wait((SoundLengthSync(SoundLink("TTychus02TalDarimExecutor00066", -1)) - 2.0), c_timeReal);
UnitGroupIssueOrder(lv_victoryMarinesLeft, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(374)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_victoryMarinesRight, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(376)), c_orderQueueReplace);
UnitIssueOrder(lv_victoryTANK1, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(378)), c_orderQueueReplace);
UnitIssueOrder(lv_victoryTANK1, Order(AbilityCommand("SiegeMode", 0)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:6468
Wait(1.0, c_timeGame);
UnitGroupIssueOrder(UnitGroup(null, gv_p02_ZERG, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingRelativePoint(AbilityCommand("move", 1), PointFromId(272)), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup(null, gv_p02_ZERG, RegionFromId(64), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(4)), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup(null, gv_p02_ZERG, RegionFromId(61), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(441)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:6538
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_zergGroup);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(2184), UnitLastCreatedGroup(), true);
UnitGroupIssueOrder(lv_zergGroup, OrderTargetingRelativePoint(AbilityCommand("move", 0), PointFromId(100)), c_orderQueueReplace);
libNtve_gf_CreateUnitsWithDefaultFacing(5, "Zergling", 0, gv_p02_ZERG, PointFromId(2187));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_zergGroup);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:6542
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_zergGroup);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(2185), UnitLastCreatedGroup(), true);
UnitGroupIssueOrder(lv_zergGroup, OrderTargetingRelativePoint(AbilityCommand("move", 0), PointFromId(100)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_zergGroup, Order(AbilityCommand("BurrowZerglingDown", 0)), c_orderQueueAddToEnd);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2731
}
UnitGroupIssueOrder(gv_eastLandPatrol, OrderTargetingRelativePoint(AbilityCommand("move", 1), PointFromId(271)), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4222
auto914627BE_var = UnitGroupUnitFromEnd(auto914627BE_g, auto914627BE_u);
if (auto914627BE_var == null) { break; }
UnitIssueOrder(auto914627BE_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(80))), c_orderQueueAddToEnd);
}
auto9F6919A4_g = UnitGroup("Baneling", gv_p05_ZERG_ORANGE_NW, RegionFromId(83), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4229
auto9F6919A4_var = UnitGroupUnitFromEnd(auto9F6919A4_g, auto9F6919A4_u);
if (auto9F6919A4_var == null) { break; }
UnitIssueOrder(auto9F6919A4_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(83))), c_orderQueueAddToEnd);
}
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:5423
libNtve_gf_PauseUnit(autoDA726F61_var, false);
}
UnitGroupIssueOrder(UnitGroup(null, gv_p01_USER, RegionFromId(8), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(569)), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:4502
autoCC094DED_var = UnitGroupUnitFromEnd(autoCC094DED_g, autoCC094DED_u);
if (autoCC094DED_var == null) { break; }
UnitIssueOrder(autoCC094DED_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(126))), c_orderQueueReplace);
}
autoE20FB2BA_g = gv_lab02PrisonerUnitGroup;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:4509
autoE20FB2BA_var = UnitGroupUnitFromEnd(autoE20FB2BA_g, autoE20FB2BA_u);
if (autoE20FB2BA_var == null) { break; }
UnitIssueOrder(autoE20FB2BA_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(126))), c_orderQueueReplace);
}
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9206
}
UnitIssueOrder(EventUnit(), OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(52))), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9484
autoD3D75B12_var = UnitGroupUnitFromEnd(autoD3D75B12_g, autoD3D75B12_u);
if (autoD3D75B12_var == null) { break; }
UnitIssueOrder(autoD3D75B12_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(112))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9492
autoE1CD9104_var = UnitGroupUnitFromEnd(autoE1CD9104_g, autoE1CD9104_u);
if (autoE1CD9104_var == null) { break; }
UnitIssueOrder(autoE1CD9104_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(51))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9500
autoD860B59B_var = UnitGroupUnitFromEnd(autoD860B59B_g, autoD860B59B_u);
if (autoD860B59B_var == null) { break; }
UnitIssueOrder(autoD860B59B_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(47))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9508
autoEFECE46F_var = UnitGroupUnitFromEnd(autoEFECE46F_g, autoEFECE46F_u);
if (autoEFECE46F_var == null) { break; }
UnitIssueOrder(autoEFECE46F_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(103))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9516
auto4046689C_var = UnitGroupUnitFromEnd(auto4046689C_g, auto4046689C_u);
if (auto4046689C_var == null) { break; }
UnitIssueOrder(auto4046689C_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(55))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9524
autoC277B8BF_var = UnitGroupUnitFromEnd(autoC277B8BF_g, autoC277B8BF_u);
if (autoC277B8BF_var == null) { break; }
UnitIssueOrder(autoC277B8BF_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(56))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:9532
autoF664984A_var = UnitGroupUnitFromEnd(autoF664984A_g, autoF664984A_u);
if (autoF664984A_var == null) { break; }
UnitIssueOrder(autoF664984A_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(57))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:5807
libCamp_gf_SendTransmissionCampaign(null, SoundLink("TTychus02TalDarimExecutor00066", -1), c_transmissionDurationAdd, 0.0, false);
Wait((SoundLengthSync(SoundLink("TTychus02TalDarimExecutor00066", -1)) - 2.0), c_timeReal);
UnitGroupIssueOrder(lv_victoryMarinesLeft, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(374)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_victoryMarinesRight, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(376)), c_orderQueueReplace);
UnitIssueOrder(lv_victoryTANK1, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(378)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:5808
Wait((SoundLengthSync(SoundLink("TTychus02TalDarimExecutor00066", -1)) - 2.0), c_timeReal);
UnitGroupIssueOrder(lv_victoryMarinesLeft, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(374)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_victoryMarinesRight, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromId(376)), c_orderQueueReplace);
UnitIssueOrder(lv_victoryTANK1, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(378)), c_orderQueueReplace);
UnitIssueOrder(lv_victoryTANK1, Order(AbilityCommand("SiegeMode", 0)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:6468
Wait(1.0, c_timeGame);
UnitGroupIssueOrder(UnitGroup(null, gv_p02_ZERG, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingRelativePoint(AbilityCommand("move", 1), PointFromId(272)), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup(null, gv_p02_ZERG, RegionFromId(64), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(4)), c_orderQueueReplace);
UnitGroupIssueOrder(UnitGroup(null, gv_p02_ZERG, RegionFromId(61), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(441)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:6538
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_zergGroup);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(2184), UnitLastCreatedGroup(), true);
UnitGroupIssueOrder(lv_zergGroup, OrderTargetingRelativePoint(AbilityCommand("move", 0), PointFromId(100)), c_orderQueueReplace);
libNtve_gf_CreateUnitsWithDefaultFacing(5, "Zergling", 0, gv_p02_ZERG, PointFromId(2187));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_zergGroup);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2map — MapScript.galaxy:6542
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_zergGroup);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, PointFromId(2185), UnitLastCreatedGroup(), true);
UnitGroupIssueOrder(lv_zergGroup, OrderTargetingRelativePoint(AbilityCommand("move", 0), PointFromId(100)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_zergGroup, Order(AbilityCommand("BurrowZerglingDown", 0)), c_orderQueueAddToEnd);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:2731
}
UnitGroupIssueOrder(gv_eastLandPatrol, OrderTargetingRelativePoint(AbilityCommand("move", 1), PointFromId(271)), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4222
auto914627BE_var = UnitGroupUnitFromEnd(auto914627BE_g, auto914627BE_u);
if (auto914627BE_var == null) { break; }
UnitIssueOrder(auto914627BE_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(80))), c_orderQueueAddToEnd);
}
auto9F6919A4_g = UnitGroup("Baneling", gv_p05_ZERG_ORANGE_NW, RegionFromId(83), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:4229
auto9F6919A4_var = UnitGroupUnitFromEnd(auto9F6919A4_g, auto9F6919A4_u);
if (auto9F6919A4_var == null) { break; }
UnitIssueOrder(auto9F6919A4_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(83))), c_orderQueueAddToEnd);
}
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:1046
Wait(2.0, c_timeGame);
while (true) {
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(1)))), c_orderQueueReplace);
lv_patrolUnitIndex = 1;
for ( ; ( (autoA773D385_ai >= 0 && lv_patrolUnitIndex <= autoA773D385_ae) || (autoA773D385_ai < 0 && lv_patrolUnitIndex >= autoA773D385_ae) ) ; lv_patrolUnitIndex += autoA773D385_ai ) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:1059
}
Wait(RandomFixed(4.0, 8.0), c_timeGame);
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(2)))), c_orderQueueAddToEnd);
lv_patrolUnitIndex = 1;
for ( ; ( (autoB9B4DC77_ai >= 0 && lv_patrolUnitIndex <= autoB9B4DC77_ae) || (autoB9B4DC77_ai < 0 && lv_patrolUnitIndex >= autoB9B4DC77_ae) ) ; lv_patrolUnitIndex += autoB9B4DC77_ai ) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:1072
}
Wait(RandomFixed(3.0, 6.0), c_timeGame);
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(3)))), c_orderQueueAddToEnd);
lv_patrolUnitIndex = 1;
for ( ; ( (autoB7188654_ai >= 0 && lv_patrolUnitIndex <= autoB7188654_ae) || (autoB7188654_ai < 0 && lv_patrolUnitIndex >= autoB7188654_ae) ) ; lv_patrolUnitIndex += autoB7188654_ai ) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:1085
}
Wait(RandomFixed(4.0, 10.0), c_timeGame);
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(2)))), c_orderQueueAddToEnd);
lv_patrolUnitIndex = 1;
for ( ; ( (autoD78EE222_ai >= 0 && lv_patrolUnitIndex <= autoD78EE222_ae) || (autoD78EE222_ai < 0 && lv_patrolUnitIndex >= autoD78EE222_ae) ) ; lv_patrolUnitIndex += autoD78EE222_ai ) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:1099
Wait(RandomFixed(3.0, 8.0), c_timeGame);
if ((UnitGroupCount(lv_patrolGroup, c_unitCountAlive) <= 1)) {
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(1)))), c_orderQueueReplace);
break;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:1977
auto383B60AE_var = UnitGroupUnitFromEnd(auto383B60AE_g, auto383B60AE_u);
if (auto383B60AE_var == null) { break; }
UnitIssueOrder(auto383B60AE_var, OrderTargetingRelativePoint(AbilityCommand("move", 0), PointFromId(839)), c_orderQueueReplace);
if ((UnitGetType(auto383B60AE_var) == "HighTemplar") && (UnitGetPropertyFixed(auto383B60AE_var, c_unitPropEnergy, c_unitPropCurrent) < 150.0)) {
UnitSetPropertyFixed(auto383B60AE_var, c_unitPropEnergy, 150.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:1046
Wait(2.0, c_timeGame);
while (true) {
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(1)))), c_orderQueueReplace);
lv_patrolUnitIndex = 1;
for ( ; ( (autoA773D385_ai >= 0 && lv_patrolUnitIndex <= autoA773D385_ae) || (autoA773D385_ai < 0 && lv_patrolUnitIndex >= autoA773D385_ae) ) ; lv_patrolUnitIndex += autoA773D385_ai ) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:1059
}
Wait(RandomFixed(4.0, 8.0), c_timeGame);
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(2)))), c_orderQueueAddToEnd);
lv_patrolUnitIndex = 1;
for ( ; ( (autoB9B4DC77_ai >= 0 && lv_patrolUnitIndex <= autoB9B4DC77_ae) || (autoB9B4DC77_ai < 0 && lv_patrolUnitIndex >= autoB9B4DC77_ae) ) ; lv_patrolUnitIndex += autoB9B4DC77_ai ) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:1072
}
Wait(RandomFixed(3.0, 6.0), c_timeGame);
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(3)))), c_orderQueueAddToEnd);
lv_patrolUnitIndex = 1;
for ( ; ( (autoB7188654_ai >= 0 && lv_patrolUnitIndex <= autoB7188654_ae) || (autoB7188654_ai < 0 && lv_patrolUnitIndex >= autoB7188654_ae) ) ; lv_patrolUnitIndex += autoB7188654_ai ) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:1085
}
Wait(RandomFixed(4.0, 10.0), c_timeGame);
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(2)))), c_orderQueueAddToEnd);
lv_patrolUnitIndex = 1;
for ( ; ( (autoD78EE222_ai >= 0 && lv_patrolUnitIndex <= autoD78EE222_ae) || (autoD78EE222_ai < 0 && lv_patrolUnitIndex >= autoD78EE222_ae) ) ; lv_patrolUnitIndex += autoD78EE222_ai ) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:1099
Wait(RandomFixed(3.0, 8.0), c_timeGame);
if ((UnitGroupCount(lv_patrolGroup, c_unitCountAlive) <= 1)) {
UnitGroupIssueOrder(lv_patrolGroup, OrderTargetingRelativePoint(AbilityCommand("attack", 0), PointFromName(("Raynor Base " + IntToString(lp_base) + " Stabilizer " + IntToString(lp_stabilizer) + " Patrol " + IntToString(lp_patrol) + " " + IntToString(1)))), c_orderQueueReplace);
break;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:1977
auto383B60AE_var = UnitGroupUnitFromEnd(auto383B60AE_g, auto383B60AE_u);
if (auto383B60AE_var == null) { break; }
UnitIssueOrder(auto383B60AE_var, OrderTargetingRelativePoint(AbilityCommand("move", 0), PointFromId(839)), c_orderQueueReplace);
if ((UnitGetType(auto383B60AE_var) == "HighTemplar") && (UnitGetPropertyFixed(auto383B60AE_var, c_unitPropEnergy, c_unitPropCurrent) < 150.0)) {
UnitSetPropertyFixed(auto383B60AE_var, c_unitPropEnergy, 150.0);