# Point Is In Region
Grammar — p is in r
Flags —Native
|Function
Returns true if the specified point is located within the specified region.
# Arguments
region
— Regionpoint
— Point
Returns — bool
native bool RegionContainsPoint(region r, point p);
# Related
Category: Point / Measurements
- X Of Point —
fixed
— PointGetX - Y Of Point —
fixed
— PointGetY - Facing Angle Of Point —
fixed
— PointGetFacing - Height Of Point —
fixed
— PointGetHeight - Angle Between Points —
fixed
— AngleBetweenPoints - Distance Between Points —
fixed
— DistanceBetweenPoints - Distance Squared Between Points —
fixed
— DistanceSquaredBetweenPoints - Point Is In Region —
bool
— RegionContainsPoint
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3133
}
lv_bounds = gf_GetCameraBoundary();
if ((RegionContainsPoint(lv_bounds, lv_posNext) == false)) {
lv_maxBound = RegionGetBoundsMax(lv_bounds);
lv_minBound = RegionGetBoundsMin(lv_bounds);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5998
lv_currentSawPosition = UnitGetPosition(gv_terraTronSaw);
if ((RegionContainsPoint(RegionRect(PointGetX(gv_screenLowerBound), PointGetY(gv_screenLowerBound), PointGetX(gv_screenUpperBound), PointGetY(gv_screenUpperBound)), lv_currentSawPosition) == false)) {
gv_currentSawBounces += 1;
if ((gv_currentSawBounces > gv_totalSawBounces)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6318
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6450
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6569
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6673
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6785
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6924
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7022
if ((lv_index > 48)) {
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1274
if ((RandomInt(1, 3) == 1)) {
lv_tempPoint = PointWithOffsetPolar(UnitGetPosition(auto5E2EB195_var), RandomFixed(0.5, 1.5), RandomFixed(0.0, 360.0));
if ((RegionContainsPoint(RegionFromId(37), lv_tempPoint) == true)) {
UnitIssueOrder(auto5E2EB195_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_tempPoint), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1429
if ((RandomInt(1, 5) == 1)) {
lv_tempPoint = PointWithOffsetPolar(UnitGetPosition(autoCE810A15_var), RandomFixed(0.5, 1.5), RandomFixed(0.0, 360.0));
if ((RegionContainsPoint(RegionFromId(14), lv_tempPoint) == true)) {
UnitIssueOrder(autoCE810A15_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_tempPoint), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1656
for (auto02F1A498_i = 1; auto02F1A498_i <= auto02F1A498_n; auto02F1A498_i += 1) {
if ((RegionContainsPoint(RegionFromId(25), CameraGetTarget(gv_p1_USER)) == true)) {
lv_playerHasSeenTown = true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3618
lv_type = gv_tempNydusType;
lv_cooldown = gv_tempNydusCooldown;
if ((RegionContainsPoint(RegionCircle(lv_point, 10.0), CameraGetTarget(gv_p1_USER)) == true) && (gv_gameOver == false) && (gv_inCinematic == false)) {
CameraShakeStart(1, c_cameraPositionTarget, c_cameraDirectionZ, 0.02, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:3470
lv_pickedInfestedCiv = EventUnit();
lv_point = UnitGetPosition(lv_pickedInfestedCiv);
if ((RegionContainsPoint(RegionCircle(UnitGetPosition(lv_pickedInfestedCiv), 10.0), CameraGetTarget(gv_pLAYER_01_USER)) == true)) {
TriggerEnable(TriggerGetCurrent(), false);
TriggerQueueEnter();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:3525
lv_pickedInfestedMarine = EventUnit();
lv_point = UnitGetPosition(lv_pickedInfestedMarine);
if ((RegionContainsPoint(RegionCircle(UnitGetPosition(lv_pickedInfestedMarine), 10.0), CameraGetTarget(gv_pLAYER_01_USER)) == true)) {
TriggerEnable(TriggerGetCurrent(), false);
TriggerQueueEnter();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:3579
gv_pickedInfestedUnit = EventUnit();
lv_point = UnitGetPosition(gv_pickedInfestedUnit);
if ((RegionContainsPoint(RegionCircle(UnitGetPosition(gv_pickedInfestedUnit), 12.0), CameraGetTarget(gv_pLAYER_01_USER)) == true)) {
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_AttachModelToUnit(gv_pickedInfestedUnit, "BriefingUnitSelectRed", "Ref_Origin");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2075
}
if ((RegionContainsPoint(RegionCircle(gv_trainList[lv_trainIndex].lv_escorts[1].lv_waitPosition, 2.0), UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[1])) == true)) {
auto099CB889_ae = gv_trainList[lv_trainIndex].lv_numberOfCars;
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2148
auto499A4BF2_var = UnitGroupUnitFromEnd(auto499A4BF2_g, auto499A4BF2_u);
if (auto499A4BF2_var == null) { break; }
if ((RegionContainsPoint(RegionCircle(gv_trainPath[FixedToInt(UnitGetCustomValue(auto499A4BF2_var, 0))], 0.5), UnitGetPosition(auto499A4BF2_var)) == true)) {
if ((FixedToInt(UnitGetCustomValue(auto499A4BF2_var, 0)) < 255)) {
UnitSetCustomValue(auto499A4BF2_var, 0, (UnitGetCustomValue(auto499A4BF2_var, 0) + 1.0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1668
// Conditions
if (testConds) {
if (!((RegionContainsPoint(RegionFromId(47), UnitGetPosition(EventUnit())) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1720
// Conditions
if (testConds) {
if (!((RegionContainsPoint(RegionFromId(48), UnitGetPosition(EventUnit())) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1776
// Conditions
if (testConds) {
if (!((RegionContainsPoint(RegionFromId(49), UnitGetPosition(EventUnit())) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:827
}
if (!((RegionContainsPoint(RegionFromId(7), UnitGetPosition(EventUnitTarget())) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:938
}
if (!((RegionContainsPoint(RegionFromId(9), UnitGetPosition(EventUnitTarget())) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1803
TriggerEnable(TriggerGetCurrent(), false);
if ((RegionContainsPoint(RegionCircle(PointFromId(113), 10.0), CameraGetTarget(gv_p1_USER)) == true) && (gv_gameOver == false) && (gv_inCinematic == false)) {
CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.02, 2.0, 100.0, 2.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2845
autoFB99CCD1_var = UnitGroupUnitFromEnd(autoFB99CCD1_g, autoFB99CCD1_u);
if (autoFB99CCD1_var == null) { break; }
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(9)), 2.0), UnitGetPosition(autoFB99CCD1_var)) == true)) {
UnitIssueOrder(autoFB99CCD1_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(9))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2513
gv_nydusWormP03 = UnitFromId(548);
if ((UnitIsAlive(gv_nydusWormP03) == false)) {
if ((RegionContainsPoint(RegionCircle(lv_point, 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3063
}
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(32)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3071
SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitLastCreated(), 0.0, 100.0, 0.0);
Wait(1.5, c_timeGame);
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(33)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3079
SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitLastCreated(), 0.0, 100.0, 0.0);
Wait(1.5, c_timeGame);
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(34)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3116
}
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(35)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3124
SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitLastCreated(), 0.0, 100.0, 0.0);
Wait(1.5, c_timeGame);
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(36)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3132
SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitLastCreated(), 0.0, 100.0, 0.0);
Wait(1.5, c_timeGame);
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(37)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3140
SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitLastCreated(), 0.0, 100.0, 0.0);
Wait(1.5, c_timeGame);
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(38)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3177
}
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(39)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3185
SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitLastCreated(), 0.0, 100.0, 0.0);
Wait(1.5, c_timeGame);
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(46)), 10.0), CameraGetTarget(gv_pLAYER01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_pLAYER01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:1576
}
if ((RegionContainsPoint(RegionFromId(22), UnitGetPosition(gv_nova)) == true)) {
VisRevealerEnable(gv_p1MiTuRevealer, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2566
}
if (!((RegionContainsPoint(RegionFromId(50), UnitGetPosition(EventUnit())) == true))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2628
lv_guard = UnitGroupUnitFromEnd(autoDFF859F0_g, autoDFF859F0_u);
if (lv_guard == null) { break; }
if ((UnitGetOwner(lv_guard) == gv_pLAYER02_TOSH) && (RegionContainsPoint(RegionFromId(50), UnitGetPosition(lv_guard)) == false)) {
lv_guardHome = libNtve_gf_PointOffsetTowardsPoint(RegionGetCenter(RegionFromId(50)), 2.0, UnitGetPosition(lv_guard));
autoA7FE5D13_val = UnitGetType(lv_guard);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2640
}
else if (autoA7FE5D13_val == "VikingAssault") {
if ((RegionContainsPoint(RegionFromId(14), UnitGetPosition(lv_guard)) == true)) {
UnitIssueOrder(lv_guard, OrderTargetingPoint(AbilityCommand("attack", 0), lv_guardHome), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2585
TriggerEnable(TriggerGetCurrent(), false);
Wait(0.1, c_timeGame);
if ((RegionContainsPoint(RegionFromId(30), CameraGetTarget(gv_p01_USER)) == true)) {
TriggerExecute(gt__0809Camera02StopMouse, true, false);
gf_HideReplayTransmissionButtons();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1020
}
else {
if ((RegionContainsPoint(RegionCircle(lv_nullifierTopPosition, 1.0), UnitGetPosition(lv_nullifierTop)) == false)) {
UnitIssueOrder(lv_nullifierTop, OrderTargetingPoint(AbilityCommand("move", 0), lv_nullifierTopPosition), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1029
}
else {
if ((RegionContainsPoint(RegionCircle(lv_nullifierBottomPosition, 1.0), UnitGetPosition(lv_nullifierBottom)) == false)) {
UnitIssueOrder(lv_nullifierBottom, OrderTargetingPoint(AbilityCommand("move", 0), lv_nullifierBottomPosition), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1050
}
if ((lv_broken == false) && (RegionContainsPoint(RegionCircle(lv_highTemplarPosition, 1.0), UnitGetPosition(lv_highTemplar)) == false)) {
UnitIssueOrder(lv_highTemplar, OrderTargetingPoint(AbilityCommand("move", 0), lv_highTemplarPosition), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1056
}
else {
if ((RegionContainsPoint(RegionCircle(lv_highTemplarPosition, 1.0), UnitGetPosition(lv_highTemplar)) == false)) {
UnitIssueOrder(lv_highTemplar, OrderTargetingPoint(AbilityCommand("move", 0), lv_highTemplarPosition), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1148
}
else {
if ((RegionContainsPoint(RegionCircle(lv_nullifier1Position, 1.0), UnitGetPosition(lv_nullifier1)) == false)) {
UnitIssueOrder(lv_nullifier1, OrderTargetingPoint(AbilityCommand("move", 0), lv_nullifier1Position), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1157
}
else {
if ((RegionContainsPoint(RegionCircle(lv_nullifier2Position, 1.0), UnitGetPosition(lv_nullifier2)) == false)) {
UnitIssueOrder(lv_nullifier2, OrderTargetingPoint(AbilityCommand("move", 0), lv_nullifier2Position), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1261
}
else {
if ((RegionContainsPoint(RegionCircle(lv_highTemplarPoints[lv_i], 0.5), UnitGetPosition(lv_highTemplars[lv_i])) == false)) {
UnitIssueOrder(lv_highTemplars[lv_i], OrderTargetingPoint(AbilityCommand("move", 0), lv_highTemplarPoints[lv_i]), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1550
Wait(1.0, c_timeGame);
if ((UnitIsAlive(lv_swannDropship) == true)) {
if ((RegionContainsPoint(RegionCircle(PointFromId(166), 1.0), UnitGetPosition(lv_swannDropship)) == true)) {
UnitRemove(lv_swannDropship);
break;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2796
autoB111683E_var = UnitGroupUnitFromEnd(autoB111683E_g, autoB111683E_u);
if (autoB111683E_var == null) { break; }
if ((RegionContainsPoint(RegionCircle(Point(UnitGetCustomValue(autoB111683E_var, 0), UnitGetCustomValue(autoB111683E_var, 1)), 2.0), UnitGetPosition(autoB111683E_var)) == true)) {
lv_randomPoint = RegionRandomPoint(RegionFromId(62));
UnitSetCustomValue(autoB111683E_var, 0, PointGetX(lv_randomPoint));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2700
gv_lastWarpedInPhasePrism = EventUnitProgressUnit();
if ((RegionContainsPoint(RegionFromId(15), UnitGetPosition(EventUnitProgressUnit())) == true)) {
if ((gv_phasePrismAggroLevel == 3)) {
UnitCargoCreate(EventUnitProgressUnit(), "Zealot", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2711
}
if ((RegionContainsPoint(RegionFromId(16), UnitGetPosition(EventUnitProgressUnit())) == true)) {
if ((gv_phasePrismAggroLevel == 3)) {
UnitCargoCreate(EventUnitProgressUnit(), "Zealot", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2721
}
if ((RegionContainsPoint(RegionFromId(4), UnitGetPosition(EventUnitProgressUnit())) == true)) {
if ((gv_phasePrismAggroLevel == 3)) {
UnitCargoCreate(EventUnitProgressUnit(), "Zealot", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3661
PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/103608D2"));
SoundPlay(SoundLink("UI_TerranReminderPing", -1), PlayerGroupAll(), 100.0, 0.0);
while (!(((UnitIsAlive(EventUnit()) == false) || (RegionContainsPoint(RegionFromId(20), UnitGetPosition(EventUnit())) == true)))) {
Wait(1.0, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3741
PingSetUnit(PingLastCreated(), lv_transferUnit);
PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/37015A8D"));
while (!(((UnitIsAlive(lv_transferUnit) == false) || (RegionContainsPoint(RegionFromId(20), UnitGetPosition(lv_transferUnit)) == true)))) {
Wait(1.0, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3820
PingSetUnit(PingLastCreated(), lv_transferUnit);
PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/9E61A0F9"));
while (!(((UnitIsAlive(lv_transferUnit) == false) || (RegionContainsPoint(RegionFromId(20), UnitGetPosition(lv_transferUnit)) == true)))) {
Wait(1.0, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:823
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Birth 02", 0, c_animTimeDefault);
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0);
if ((RegionContainsPoint(RegionCircle(lv_location, 10.0), CameraGetTarget(gv_p01_USER)) == true)) {
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.2, 2.0, 100.0, 2.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:1397
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Birth 02", 0, c_animTimeDefault);
SoundPlayAtPoint(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0);
if ((RegionContainsPoint(RegionFromId(20), CameraGetTarget(gv_p01_USER)) == true)) {
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.2, 2.0, 100.0, 2.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4966
lv_type = gv_tempNydusType;
lv_cooldown = gv_tempNydusCooldown;
if ((RegionContainsPoint(RegionCircle(lv_point, 10.0), CameraGetTarget(gv_p01_USER)) == true) && (gv_gameOver == false) && (gv_inCinematic == false)) {
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.02, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:4662
lv_region = gv_nydusSpawnRegion;
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(lv_region), 15.0), CameraGetTarget(gv_p1_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:8406
}
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(lv_region), 15.0), CameraGetTarget(gv_p1_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10526
autoD38E9AAC_var = UnitGroupUnitFromEnd(autoD38E9AAC_g, autoD38E9AAC_u);
if (autoD38E9AAC_var == null) { break; }
if ((RegionContainsPoint(RegionFromId(76), UnitGetPosition(autoD38E9AAC_var)) == false)) {
UnitRemove(autoD38E9AAC_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10976
autoE0C814BC_var = UnitGroupUnitFromEnd(autoE0C814BC_g, autoE0C814BC_u);
if (autoE0C814BC_var == null) { break; }
if ((RegionContainsPoint(RegionFromId(128), UnitGetPosition(autoE0C814BC_var)) == false)) {
UnitRemove(autoE0C814BC_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:669
// Implementation
if ((RegionContainsPoint(RegionFromId(18), lp_location) == true)) {
return RegionFromId(5);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:673
}
if ((RegionContainsPoint(RegionFromId(17), lp_location) == true)) {
return RegionFromId(6);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:677
}
if ((RegionContainsPoint(RegionFromId(16), lp_location) == true)) {
return RegionFromId(7);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:681
}
if ((RegionContainsPoint(RegionFromId(19), lp_location) == true)) {
return RegionFromId(8);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:685
}
if ((RegionContainsPoint(RegionFromId(20), lp_location) == true)) {
return RegionFromId(9);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:689
}
if ((RegionContainsPoint(RegionFromId(21), lp_location) == true)) {
return RegionFromId(10);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:693
}
if ((RegionContainsPoint(RegionFromId(39), lp_location) == true)) {
return RegionFromId(11);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:2205
while (true) {
UnitIssueOrder(UnitFromId(221), OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(121))), c_orderQueueReplace);
if ((RegionContainsPoint(RegionFromId(121), UnitGetPosition(UnitFromId(221))) == true)) {
UnitRemove(UnitFromId(221));
break;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:5572
if (auto35228365_var == null) { break; }
UnitIssueOrder(auto35228365_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(129))), c_orderQueueReplace);
if ((RegionContainsPoint(RegionFromId(129), UnitGetPosition(auto35228365_var)) == true)) {
UnitRemove(auto35228365_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:9014
}
while (!((RegionContainsPoint(RegionCircle(PointFromId(1710), 1.0), UnitGetPosition(gv_cinematicKarassPrism1)) == true) && (RegionContainsPoint(RegionCircle(PointFromId(356), 1.0), UnitGetPosition(gv_cinematicKarassPrism2)) == true))) {
Wait(0.1, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:9014
}
while (!((RegionContainsPoint(RegionCircle(PointFromId(1710), 1.0), UnitGetPosition(gv_cinematicKarassPrism1)) == true) && (RegionContainsPoint(RegionCircle(PointFromId(356), 1.0), UnitGetPosition(gv_cinematicKarassPrism2)) == true))) {
Wait(0.1, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:2514
lv_point = AIRandomSpawnPoint(gv_p02_ZERG_LOW_GROUND_AI, RegionFromId(32), 9.0, 40.0, 30.0);
if ((RegionContainsPoint(RegionCircle(lv_point, 10.0), CameraGetTarget(gv_p01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:2562
lv_point = AIRandomSpawnPoint(gv_p02_ZERG_LOW_GROUND_AI, RegionFromId(24), 9.0, 40.0, 30.0);
if ((RegionContainsPoint(RegionCircle(lv_point, 10.0), CameraGetTarget(gv_p01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:2610
lv_point = AIRandomSpawnPoint(gv_p02_ZERG_LOW_GROUND_AI, RegionFromId(40), 9.0, 40.0, 30.0);
if ((RegionContainsPoint(RegionCircle(lv_point, 10.0), CameraGetTarget(gv_p01_USER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.07, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:4338
lv_region = gv_nydusSpawnRegion;
Wait(3.0, c_timeGame);
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(lv_region), 10.0), CameraGetTarget(gv_p01_PLAYER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_p01_PLAYER, c_cameraPositionTarget, c_cameraDirectionZ, 0.02, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:4412
lv_region = gv_nydusSpawnRegion;
Wait(3.0, c_timeGame);
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(lv_region), 10.0), CameraGetTarget(gv_p01_PLAYER)) == true) && (gv_gameOver == false)) {
CameraShakeStart(gv_p01_PLAYER, c_cameraPositionTarget, c_cameraDirectionZ, 0.02, 2.0, 100.0, 3.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:2166
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((RegionContainsPoint(RegionFromId(24), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(26), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(27), UnitGetPosition(UnitGroupLoopCurrent())) == false)) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:2166
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((RegionContainsPoint(RegionFromId(24), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(26), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(27), UnitGetPosition(UnitGroupLoopCurrent())) == false)) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:2166
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((RegionContainsPoint(RegionFromId(24), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(26), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(27), UnitGetPosition(UnitGroupLoopCurrent())) == false)) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1988
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((RegionContainsPoint(RegionFromId(21), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(22), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(23), UnitGetPosition(UnitGroupLoopCurrent())) == false)) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1988
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((RegionContainsPoint(RegionFromId(21), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(22), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(23), UnitGetPosition(UnitGroupLoopCurrent())) == false)) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1988
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((RegionContainsPoint(RegionFromId(21), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(22), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(23), UnitGetPosition(UnitGroupLoopCurrent())) == false)) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:2072
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
if ((RegionContainsPoint(RegionFromId(21), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(22), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(23), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (UnitGetType(UnitGroupLoopCurrent()) != "BroodlingEscort") && (UnitGetType(UnitGroupLoopCurrent()) != "InfestorTerran") && (UnitGetType(UnitGroupLoopCurrent()) != "InfestorTerranBurrowed")) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:2072
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
if ((RegionContainsPoint(RegionFromId(21), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(22), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(23), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (UnitGetType(UnitGroupLoopCurrent()) != "BroodlingEscort") && (UnitGetType(UnitGroupLoopCurrent()) != "InfestorTerran") && (UnitGetType(UnitGroupLoopCurrent()) != "InfestorTerranBurrowed")) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:2072
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
if ((RegionContainsPoint(RegionFromId(21), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(22), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (RegionContainsPoint(RegionFromId(23), UnitGetPosition(UnitGroupLoopCurrent())) == false) && (UnitGetType(UnitGroupLoopCurrent()) != "BroodlingEscort") && (UnitGetType(UnitGroupLoopCurrent()) != "InfestorTerran") && (UnitGetType(UnitGroupLoopCurrent()) != "InfestorTerranBurrowed")) {
UnitGroupAdd(lv_unusedUnits, UnitGroupLoopCurrent());
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3133
}
lv_bounds = gf_GetCameraBoundary();
if ((RegionContainsPoint(lv_bounds, lv_posNext) == false)) {
lv_maxBound = RegionGetBoundsMax(lv_bounds);
lv_minBound = RegionGetBoundsMin(lv_bounds);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:5998
lv_currentSawPosition = UnitGetPosition(gv_terraTronSaw);
if ((RegionContainsPoint(RegionRect(PointGetX(gv_screenLowerBound), PointGetY(gv_screenLowerBound), PointGetX(gv_screenUpperBound), PointGetY(gv_screenUpperBound)), lv_currentSawPosition) == false)) {
gv_currentSawBounces += 1;
if ((gv_currentSawBounces > gv_totalSawBounces)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:6318
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:6450
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:6569
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:6673
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:6785
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:6924
}
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7022
if ((lv_index > 48)) {
lv_posCurrent = UnitGetPosition(lv_plane);
if ((RegionContainsPoint(lv_outerBounds, lv_posCurrent) == false)) {
UnitRemove(lv_plane);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:1274
if ((RandomInt(1, 3) == 1)) {
lv_tempPoint = PointWithOffsetPolar(UnitGetPosition(auto5E2EB195_var), RandomFixed(0.5, 1.5), RandomFixed(0.0, 360.0));
if ((RegionContainsPoint(RegionFromId(37), lv_tempPoint) == true)) {
UnitIssueOrder(auto5E2EB195_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_tempPoint), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:1429
if ((RandomInt(1, 5) == 1)) {
lv_tempPoint = PointWithOffsetPolar(UnitGetPosition(autoCE810A15_var), RandomFixed(0.5, 1.5), RandomFixed(0.0, 360.0));
if ((RegionContainsPoint(RegionFromId(14), lv_tempPoint) == true)) {
UnitIssueOrder(autoCE810A15_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_tempPoint), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:1656
for (auto02F1A498_i = 1; auto02F1A498_i <= auto02F1A498_n; auto02F1A498_i += 1) {
if ((RegionContainsPoint(RegionFromId(25), CameraGetTarget(gv_p1_USER)) == true)) {
lv_playerHasSeenTown = true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:3618
lv_type = gv_tempNydusType;
lv_cooldown = gv_tempNydusCooldown;
if ((RegionContainsPoint(RegionCircle(lv_point, 10.0), CameraGetTarget(gv_p1_USER)) == true) && (gv_gameOver == false) && (gv_inCinematic == false)) {
CameraShakeStart(1, c_cameraPositionTarget, c_cameraDirectionZ, 0.02, 2.0, 100.0, 3.0);
}