# X Of Point
Grammar — X of p
Flags —Native
|Function
Returns the X coordinate of the specified point as a real value.
# Arguments
point
— Point
Returns — fixed
native fixed PointGetX(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:491
else {
}
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (lp_name + StringExternal("Param/Value/51EFF4C4") + FixedToText(PointGetX(lp_point), 2) + StringExternal("Param/Value/C5533173") + FixedToText(PointGetY(lp_point), 2) + StringExternal("Param/Value/ED0C4AD1")));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:1176
// Implementation
lv_posCurrent = UnitGetPosition(gv_boss);
lv_xNew = (PointGetX(lv_posCurrent) + ((lp_x - PointGetX(lv_posCurrent)) * 0.5));
lv_targetLoc = Point(MaxF(gf_ConvertShooterXToMapX(5.0), MinF(gf_ConvertShooterXToMapX(15.0), lv_xNew)), gf_ConvertShooterYToMapY(gv_c_LeviathanY));
UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:1176
// Implementation
lv_posCurrent = UnitGetPosition(gv_boss);
lv_xNew = (PointGetX(lv_posCurrent) + ((lp_x - PointGetX(lv_posCurrent)) * 0.5));
lv_targetLoc = Point(MaxF(gf_ConvertShooterXToMapX(5.0), MinF(gf_ConvertShooterXToMapX(15.0), lv_xNew)), gf_ConvertShooterYToMapY(gv_c_LeviathanY));
UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2429
// Implementation
lv_xofSawPosition = PointGetX(lp_sawPosition);
lv_yofSawPosition = PointGetY(lp_sawPosition);
if ((lv_xofSawPosition < PointGetX(gv_screenLowerBound))) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2431
lv_xofSawPosition = PointGetX(lp_sawPosition);
lv_yofSawPosition = PointGetY(lp_sawPosition);
if ((lv_xofSawPosition < PointGetX(gv_screenLowerBound))) {
lv_reflectionNormalFacing = 0.0;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2436
else {
}
if ((lv_xofSawPosition > PointGetX(gv_screenUpperBound))) {
lv_reflectionNormalFacing = 180.0;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2507
// Implementation
lv_x = PointGetX(gv_cameraLocation);
lv_y = PointGetY(gv_cameraLocation);
lv_boundary = RegionRect((lv_x - 10.0), (lv_y - 7.0), (lv_x + 10.0), (lv_y + 7.0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2527
lv_minBound = RegionGetBoundsMin(lv_boundary);
lv_minBound = PointWithOffset(lv_minBound, -4.0, -2.0);
lv_boundary = RegionRect(PointGetX(lv_minBound), PointGetY(lv_minBound), PointGetX(lv_maxBound), PointGetY(lv_maxBound));
return lv_boundary;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2527
lv_minBound = RegionGetBoundsMin(lv_boundary);
lv_minBound = PointWithOffset(lv_minBound, -4.0, -2.0);
lv_boundary = RegionRect(PointGetX(lv_minBound), PointGetY(lv_minBound), PointGetX(lv_maxBound), PointGetY(lv_maxBound));
return lv_boundary;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2539
// Implementation
return Point(gf_ConvertShooterXToMapX(PointGetX(lp_point)), gf_ConvertShooterYToMapY(PointGetY(lp_point)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:302
lv_msg = (lv_msg + StringExternal("Param/Value/F3633763"));
lv_msg = (lv_msg + StringExternal("Param/Value/4522B9B9"));
lv_msg = (lv_msg + FixedToText(PointGetX(UnitGetPosition(lp_u)), 0));
lv_msg = (lv_msg + StringExternal("Param/Value/51A2F511"));
lv_msg = (lv_msg + FixedToText(PointGetY(UnitGetPosition(lp_u)), 0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:35
// Implementation
lv_radius = (AbsF((PointGetX(RegionGetBoundsMax(lp_circle)) - PointGetX(RegionGetBoundsMin(lp_circle)))) / 2.0);
return PointWithOffsetPolar(RegionGetCenter(lp_circle), RandomFixed(0.0, lv_radius), libNtve_gf_RandomAngle());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:35
// Implementation
lv_radius = (AbsF((PointGetX(RegionGetBoundsMax(lp_circle)) - PointGetX(RegionGetBoundsMin(lp_circle)))) / 2.0);
return PointWithOffsetPolar(RegionGetCenter(lp_circle), RandomFixed(0.0, lv_radius), libNtve_gf_RandomAngle());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3707
// Implementation
lv_x1 = PointGetX(lp_sourceCenter);
lv_y1 = PointGetY(lp_sourceCenter);
lv_x2 = PointGetX(lp_source);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3709
lv_x1 = PointGetX(lp_sourceCenter);
lv_y1 = PointGetY(lp_sourceCenter);
lv_x2 = PointGetX(lp_source);
lv_y2 = PointGetY(lp_source);
lv_sourceAfterScaled = Point((lv_x1 + ((lv_x2 - lv_x1) * lp_xRatio)), (lv_y1 + ((lv_y2 - lv_y1) * lp_yRatio)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19117
}
lv_loc = UnitGetAttachmentPoint(gf_RoomUnit(lv_room), lv_name);
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/ADF09654") + FixedToText(PointGetX(lv_loc), c_fixedPrecisionAny) + StringExternal("Param/Value/4BAB04B3") + FixedToText(PointGetY(lv_loc), c_fixedPrecisionAny)));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/DADFB189") + FixedToText(PointGetFacing(lv_loc), c_fixedPrecisionAny)));
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1236
lv_u = UnitGroupUnitFromEnd(autoF97BAD66_g, autoF97BAD66_u);
if (lv_u == null) { break; }
UnitSetCustomValue(lv_u, 1, PointGetX(UnitGetPosition(lv_u)));
UnitSetCustomValue(lv_u, 2, PointGetY(UnitGetPosition(lv_u)));
UnitIssueOrder(lv_u, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(gv_critterHavens[lv_index])), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2406
UnitGroupAdd(lv_prisonerGroup, auto395C2B50_var);
lv_randomPoint = RegionRandomPoint(RegionFromId(45));
UnitSetCustomValue(auto395C2B50_var, 0, PointGetX(UnitGetPosition(auto395C2B50_var)));
UnitSetCustomValue(auto395C2B50_var, 1, PointGetY(UnitGetPosition(auto395C2B50_var)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2419
if ((RandomInt(1, 40) == 1)) {
lv_randomPoint = RegionRandomPoint(RegionFromId(45));
UnitSetCustomValue(auto67BD9FEE_var, 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(auto67BD9FEE_var, 1, PointGetY(lv_randomPoint));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2653
UnitGroupAdd(lv_prisonerGroup, auto1BE7B4F4_var);
lv_randomPoint = RegionRandomPoint(RegionFromId(47));
UnitSetCustomValue(auto1BE7B4F4_var, 0, PointGetX(UnitGetPosition(auto1BE7B4F4_var)));
UnitSetCustomValue(auto1BE7B4F4_var, 1, PointGetY(UnitGetPosition(auto1BE7B4F4_var)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2666
if ((RandomInt(1, 32) == 1)) {
lv_randomPoint = RegionRandomPoint(RegionFromId(47));
UnitSetCustomValue(auto0F10452F_var, 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(auto0F10452F_var, 1, PointGetY(lv_randomPoint));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:372
// Implementation
lv_xDelta = (PointGetX(lp_target) - PointGetX(lp_source));
lv_yDelta = (PointGetY(lp_target) - PointGetY(lp_source));
auto9CED6B2F_g = lp_units;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:372
// Implementation
lv_xDelta = (PointGetX(lp_target) - PointGetX(lp_source));
lv_yDelta = (PointGetY(lp_target) - PointGetY(lp_source));
auto9CED6B2F_g = lp_units;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2285
else {
}
if ((PointGetX(lv_currentCameraLoc) < (PointGetX(gv_priorCameraLoc) - gv_threshold))) {
gv_scrolledLEFT = true;
gv_tEXTLEFT = StringExternal("Param/Value/373F4DCC");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2285
else {
}
if ((PointGetX(lv_currentCameraLoc) < (PointGetX(gv_priorCameraLoc) - gv_threshold))) {
gv_scrolledLEFT = true;
gv_tEXTLEFT = StringExternal("Param/Value/373F4DCC");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2292
else {
}
if ((PointGetX(lv_currentCameraLoc) > (PointGetX(gv_priorCameraLoc) + gv_threshold))) {
gv_scrolledRIGHT = true;
gv_tEXTRIGHT = StringExternal("Param/Value/195F1DF9");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2292
else {
}
if ((PointGetX(lv_currentCameraLoc) > (PointGetX(gv_priorCameraLoc) + gv_threshold))) {
gv_scrolledRIGHT = true;
gv_tEXTRIGHT = StringExternal("Param/Value/195F1DF9");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2361
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, lv_dropSpot);
if ((PointGetX(lv_dropSpot) < PointGetX(PointFromId(246)))) {
AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(246), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2361
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, lv_dropSpot);
if ((PointGetX(lv_dropSpot) < PointGetX(PointFromId(246)))) {
AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(246), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2365
}
if ((PointGetX(lv_dropSpot) < PointGetX(PointFromId(248)))) {
AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(248), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2365
}
if ((PointGetX(lv_dropSpot) < PointGetX(PointFromId(248)))) {
AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(248), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2758
UnitGroupAdd(gv_zergSpeedBumpUnits, EventUnit());
lv_randomPoint = RegionRandomPoint(RegionFromId(62));
UnitSetCustomValue(EventUnit(), 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(EventUnit(), 1, PointGetY(lv_randomPoint));
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(EventUnit(), 0), UnitGetCustomValue(EventUnit(), 1))), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2798
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));
UnitSetCustomValue(autoB111683E_var, 1, PointGetY(lv_randomPoint));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2360
lv_d = DistanceBetweenPoints(lv_a, lv_b);
lv_di = FixedToInt((lv_d / 5.0));
lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
gv_soundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2366
lv_i = 1;
for ( ; ( (auto04D15821_ai >= 0 && lv_i <= auto04D15821_ae) || (auto04D15821_ai < 0 && lv_i >= auto04D15821_ae) ) ; lv_i += auto04D15821_ai ) {
lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:824
lv_u = UnitGroupUnitFromEnd(auto728A7CC6_g, auto728A7CC6_u);
if (lv_u == null) { break; }
UnitSetCustomValue(lv_u, 0, PointGetX(UnitGetPosition(lv_u)));
UnitSetCustomValue(lv_u, 1, PointGetY(UnitGetPosition(lv_u)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1123
}
gv_wall_of_Fire_DamageRegion = RegionRect(PointGetX(PointWithOffset(PointFromId(142), 0.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(UnitGetPosition(gv_wALLOFFIRE)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
gv_wall_of_Fire_VisionRegion = RegionRect(PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), -4.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), 3.0, 0.0)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
if ((ModI(TriggerGetExecCount(TriggerGetCurrent()), 4) == 0)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1123
}
gv_wall_of_Fire_DamageRegion = RegionRect(PointGetX(PointWithOffset(PointFromId(142), 0.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(UnitGetPosition(gv_wALLOFFIRE)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
gv_wall_of_Fire_VisionRegion = RegionRect(PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), -4.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), 3.0, 0.0)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
if ((ModI(TriggerGetExecCount(TriggerGetCurrent()), 4) == 0)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1124
gv_wall_of_Fire_DamageRegion = RegionRect(PointGetX(PointWithOffset(PointFromId(142), 0.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(UnitGetPosition(gv_wALLOFFIRE)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
gv_wall_of_Fire_VisionRegion = RegionRect(PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), -4.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), 3.0, 0.0)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
if ((ModI(TriggerGetExecCount(TriggerGetCurrent()), 4) == 0)) {
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1124
gv_wall_of_Fire_DamageRegion = RegionRect(PointGetX(PointWithOffset(PointFromId(142), 0.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(UnitGetPosition(gv_wALLOFFIRE)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
gv_wall_of_Fire_VisionRegion = RegionRect(PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), -4.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), 3.0, 0.0)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
if ((ModI(TriggerGetExecCount(TriggerGetCurrent()), 4) == 0)) {
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1132
lv_i = 0;
for ( ; ( (auto4CA18CCC_ai >= 0 && lv_i <= auto4CA18CCC_ae) || (auto4CA18CCC_ai < 0 && lv_i >= auto4CA18CCC_ae) ) ; lv_i += auto4CA18CCC_ai ) {
PlayerCreateEffectPoint(1, "WallOfFireDummy", Point(PointGetX(UnitGetPosition(gv_wALLOFFIRE)), ((IntToFixed(lv_i) * 3.5) + PointGetY(PointFromId(122)))));
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1254
autoDBE4EF12_var = UnitGroupUnitFromEnd(autoDBE4EF12_g, autoDBE4EF12_u);
if (autoDBE4EF12_var == null) { break; }
if ((PointGetX(UnitGetPosition(autoDBE4EF12_var)) <= (PointGetX(UnitGetPosition(gv_wALLOFFIRE)) + 5.0))) {
TriggerEnable(TriggerGetCurrent(), false);
TechTreeAbilityAllow(gv_pLAYER02_PROTOSS, AbilityCommand("Blink", 0), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1254
autoDBE4EF12_var = UnitGroupUnitFromEnd(autoDBE4EF12_g, autoDBE4EF12_u);
if (autoDBE4EF12_var == null) { break; }
if ((PointGetX(UnitGetPosition(autoDBE4EF12_var)) <= (PointGetX(UnitGetPosition(gv_wALLOFFIRE)) + 5.0))) {
TriggerEnable(TriggerGetCurrent(), false);
TechTreeAbilityAllow(gv_pLAYER02_PROTOSS, AbilityCommand("Blink", 0), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1387
auto758F948D_var = UnitGroupUnitFromEnd(auto758F948D_g, auto758F948D_u);
if (auto758F948D_var == null) { break; }
if ((PointGetX(UnitGetPosition(auto758F948D_var)) <= (PointGetX(UnitGetPosition(gv_wALLOFFIRE)) + 28.0))) {
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_TransmissionAdjutantFireFirstWarningQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1387
auto758F948D_var = UnitGroupUnitFromEnd(auto758F948D_g, auto758F948D_u);
if (auto758F948D_var == null) { break; }
if ((PointGetX(UnitGetPosition(auto758F948D_var)) <= (PointGetX(UnitGetPosition(gv_wALLOFFIRE)) + 28.0))) {
TriggerEnable(TriggerGetCurrent(), false);
TriggerExecute(gt_TransmissionAdjutantFireFirstWarningQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6796
if (auto074C9372_var == null) { break; }
lv_randomSpot = RegionRandomPoint(gv_briefingSlaughterAreas[lv_i].lv_zergRegion);
UnitSetCustomValue(auto074C9372_var, 0, PointGetX(lv_randomSpot));
UnitSetCustomValue(auto074C9372_var, 1, PointGetY(lv_randomSpot));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6811
if ((libNtve_gf_UnitInRegion(auto4771A35A_var, RegionCircle(Point(UnitGetCustomValue(auto4771A35A_var, 0), UnitGetCustomValue(auto4771A35A_var, 1)), 1.0)) == true) && (RandomInt(1, 6) == 1)) {
lv_randomSpot = RegionRandomPoint(gv_briefingSlaughterAreas[lv_i].lv_zergRegion);
UnitSetCustomValue(auto4771A35A_var, 0, PointGetX(lv_randomSpot));
UnitSetCustomValue(auto4771A35A_var, 1, PointGetY(lv_randomSpot));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6884
}
lv_randomSpot = RegionRandomPoint(gv_briefingSlaughterAreas[lv_index].lv_zergRegion);
UnitSetCustomValue(UnitLastCreated(), 0, PointGetX(lv_randomSpot));
UnitSetCustomValue(UnitLastCreated(), 1, PointGetY(lv_randomSpot));
UnitGroupAdd(gv_briefingSlaughterAreas[lv_index].lv_zergGroup, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4327
}
lv_randomPoint = RegionRandomPoint(RegionFromId(22));
UnitSetCustomValue(UnitLastCreated(), 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(UnitLastCreated(), 1, PointGetY(lv_randomPoint));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("OverlordTransport", 2), Point(UnitGetCustomValue(UnitLastCreated(), 0), UnitGetCustomValue(UnitLastCreated(), 1))), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:485
// Implementation
UnitSetCustomValue(lp_mUnit, 0, lp_mPatrolLength);
UnitSetCustomValue(lp_mUnit, 1, PointGetX(UnitGetPosition(lp_mUnit)));
UnitSetCustomValue(lp_mUnit, 2, PointGetY(UnitGetPosition(lp_mUnit)));
UnitSetCustomValue(lp_mUnit, 3, PointGetX(lp_mPointEnd));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:487
UnitSetCustomValue(lp_mUnit, 1, PointGetX(UnitGetPosition(lp_mUnit)));
UnitSetCustomValue(lp_mUnit, 2, PointGetY(UnitGetPosition(lp_mUnit)));
UnitSetCustomValue(lp_mUnit, 3, PointGetX(lp_mPointEnd));
UnitSetCustomValue(lp_mUnit, 4, PointGetY(lp_mPointEnd));
UnitSetCustomValue(lp_mUnit, 5, lp_mPatrolLength);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:2421
libNtve_gf_PauseUnit(auto1C41810C_var, false);
UnitIssueOrder(auto1C41810C_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_point), c_orderQueueReplace);
UnitSetCustomValue(auto1C41810C_var, 0, PointGetX(lv_point));
UnitSetCustomValue(auto1C41810C_var, 1, PointGetY(lv_point));
UnitSetPropertyFixed(auto1C41810C_var, c_unitPropMovementSpeed, (UnitGetPropertyFixed(auto1C41810C_var, c_unitPropMovementSpeed, c_unitPropNormal) * RandomFixed(0.85, 1.2)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:2834
lv_point = PointWithOffsetPolar(UnitGetPosition(auto304B77BB_var), 50.0, libNtve_gf_RandomAngle());
UnitIssueOrder(auto304B77BB_var, OrderTargetingPoint(AbilityCommand("attack", 0), lv_point), c_orderQueueReplace);
UnitSetCustomValue(auto304B77BB_var, 0, PointGetX(lv_point));
UnitSetCustomValue(auto304B77BB_var, 1, PointGetY(lv_point));
UnitGroupRemove(gv_zergEncircleGroupLeft, auto304B77BB_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:2846
lv_point = PointWithOffsetPolar(UnitGetPosition(autoBDE3D882_var), 50.0, libNtve_gf_RandomAngle());
UnitIssueOrder(autoBDE3D882_var, OrderTargetingPoint(AbilityCommand("attack", 0), lv_point), c_orderQueueReplace);
UnitSetCustomValue(autoBDE3D882_var, 0, PointGetX(lv_point));
UnitSetCustomValue(autoBDE3D882_var, 1, PointGetY(lv_point));
UnitGroupRemove(gv_zergEncircleGroupRight, autoBDE3D882_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:3248
libNtve_gf_PauseUnit(auto679F94F0_var, false);
UnitIssueOrder(auto679F94F0_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_point), c_orderQueueReplace);
UnitSetCustomValue(auto679F94F0_var, 0, PointGetX(lv_point));
UnitSetCustomValue(auto679F94F0_var, 1, PointGetY(lv_point));
UnitSetPropertyFixed(auto679F94F0_var, c_unitPropMovementSpeed, (UnitGetPropertyFixed(auto679F94F0_var, c_unitPropMovementSpeed, c_unitPropNormal) * RandomFixed(0.85, 1.2)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:3739
lv_point = PointWithOffsetPolar(UnitGetPosition(auto6FFEBD37_var), 50.0, libNtve_gf_RandomAngle());
UnitIssueOrder(auto6FFEBD37_var, OrderTargetingPoint(AbilityCommand("attack", 0), lv_point), c_orderQueueReplace);
UnitSetCustomValue(auto6FFEBD37_var, 0, PointGetX(lv_point));
UnitSetCustomValue(auto6FFEBD37_var, 1, PointGetY(lv_point));
UnitGroupRemove(gv_zergEncircleGroupLeft, auto6FFEBD37_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:3751
lv_point = PointWithOffsetPolar(UnitGetPosition(auto9AD2D63A_var), 50.0, libNtve_gf_RandomAngle());
UnitIssueOrder(auto9AD2D63A_var, OrderTargetingPoint(AbilityCommand("attack", 0), lv_point), c_orderQueueReplace);
UnitSetCustomValue(auto9AD2D63A_var, 0, PointGetX(lv_point));
UnitSetCustomValue(auto9AD2D63A_var, 1, PointGetY(lv_point));
UnitGroupRemove(gv_zergEncircleGroupRight, auto9AD2D63A_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:6052
libNtve_gf_PauseUnit(auto94593D49_var, false);
UnitIssueOrder(auto94593D49_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_point), c_orderQueueReplace);
UnitSetCustomValue(auto94593D49_var, 0, PointGetX(lv_point));
UnitSetCustomValue(auto94593D49_var, 1, PointGetY(lv_point));
UnitSetPropertyFixed(auto94593D49_var, c_unitPropMovementSpeed, (UnitGetPropertyFixed(auto94593D49_var, c_unitPropMovementSpeed, c_unitPropNormal) * RandomFixed(0.85, 1.2)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:491
else {
}
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (lp_name + StringExternal("Param/Value/51EFF4C4") + FixedToText(PointGetX(lp_point), 2) + StringExternal("Param/Value/C5533173") + FixedToText(PointGetY(lp_point), 2) + StringExternal("Param/Value/ED0C4AD1")));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:1176
// Implementation
lv_posCurrent = UnitGetPosition(gv_boss);
lv_xNew = (PointGetX(lv_posCurrent) + ((lp_x - PointGetX(lv_posCurrent)) * 0.5));
lv_targetLoc = Point(MaxF(gf_ConvertShooterXToMapX(5.0), MinF(gf_ConvertShooterXToMapX(15.0), lv_xNew)), gf_ConvertShooterYToMapY(gv_c_LeviathanY));
UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:1176
// Implementation
lv_posCurrent = UnitGetPosition(gv_boss);
lv_xNew = (PointGetX(lv_posCurrent) + ((lp_x - PointGetX(lv_posCurrent)) * 0.5));
lv_targetLoc = Point(MaxF(gf_ConvertShooterXToMapX(5.0), MinF(gf_ConvertShooterXToMapX(15.0), lv_xNew)), gf_ConvertShooterYToMapY(gv_c_LeviathanY));
UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2429
// Implementation
lv_xofSawPosition = PointGetX(lp_sawPosition);
lv_yofSawPosition = PointGetY(lp_sawPosition);
if ((lv_xofSawPosition < PointGetX(gv_screenLowerBound))) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2431
lv_xofSawPosition = PointGetX(lp_sawPosition);
lv_yofSawPosition = PointGetY(lp_sawPosition);
if ((lv_xofSawPosition < PointGetX(gv_screenLowerBound))) {
lv_reflectionNormalFacing = 0.0;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2436
else {
}
if ((lv_xofSawPosition > PointGetX(gv_screenUpperBound))) {
lv_reflectionNormalFacing = 180.0;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2507
// Implementation
lv_x = PointGetX(gv_cameraLocation);
lv_y = PointGetY(gv_cameraLocation);
lv_boundary = RegionRect((lv_x - 10.0), (lv_y - 7.0), (lv_x + 10.0), (lv_y + 7.0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2527
lv_minBound = RegionGetBoundsMin(lv_boundary);
lv_minBound = PointWithOffset(lv_minBound, -4.0, -2.0);
lv_boundary = RegionRect(PointGetX(lv_minBound), PointGetY(lv_minBound), PointGetX(lv_maxBound), PointGetY(lv_maxBound));
return lv_boundary;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2527
lv_minBound = RegionGetBoundsMin(lv_boundary);
lv_minBound = PointWithOffset(lv_minBound, -4.0, -2.0);
lv_boundary = RegionRect(PointGetX(lv_minBound), PointGetY(lv_minBound), PointGetX(lv_maxBound), PointGetY(lv_maxBound));
return lv_boundary;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2539
// Implementation
return Point(gf_ConvertShooterXToMapX(PointGetX(lp_point)), gf_ConvertShooterYToMapY(PointGetY(lp_point)));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:302
lv_msg = (lv_msg + StringExternal("Param/Value/F3633763"));
lv_msg = (lv_msg + StringExternal("Param/Value/4522B9B9"));
lv_msg = (lv_msg + FixedToText(PointGetX(UnitGetPosition(lp_u)), 0));
lv_msg = (lv_msg + StringExternal("Param/Value/51A2F511"));
lv_msg = (lv_msg + FixedToText(PointGetY(UnitGetPosition(lp_u)), 0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:35
// Implementation
lv_radius = (AbsF((PointGetX(RegionGetBoundsMax(lp_circle)) - PointGetX(RegionGetBoundsMin(lp_circle)))) / 2.0);
return PointWithOffsetPolar(RegionGetCenter(lp_circle), RandomFixed(0.0, lv_radius), libNtve_gf_RandomAngle());
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:35
// Implementation
lv_radius = (AbsF((PointGetX(RegionGetBoundsMax(lp_circle)) - PointGetX(RegionGetBoundsMin(lp_circle)))) / 2.0);
return PointWithOffsetPolar(RegionGetCenter(lp_circle), RandomFixed(0.0, lv_radius), libNtve_gf_RandomAngle());
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3707
// Implementation
lv_x1 = PointGetX(lp_sourceCenter);
lv_y1 = PointGetY(lp_sourceCenter);
lv_x2 = PointGetX(lp_source);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3709
lv_x1 = PointGetX(lp_sourceCenter);
lv_y1 = PointGetY(lp_sourceCenter);
lv_x2 = PointGetX(lp_source);
lv_y2 = PointGetY(lp_source);
lv_sourceAfterScaled = Point((lv_x1 + ((lv_x2 - lv_x1) * lp_xRatio)), (lv_y1 + ((lv_y2 - lv_y1) * lp_yRatio)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19117
}
lv_loc = UnitGetAttachmentPoint(gf_RoomUnit(lv_room), lv_name);
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/ADF09654") + FixedToText(PointGetX(lv_loc), c_fixedPrecisionAny) + StringExternal("Param/Value/4BAB04B3") + FixedToText(PointGetY(lv_loc), c_fixedPrecisionAny)));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, (StringExternal("Param/Value/DADFB189") + FixedToText(PointGetFacing(lv_loc), c_fixedPrecisionAny)));
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:1236
lv_u = UnitGroupUnitFromEnd(autoF97BAD66_g, autoF97BAD66_u);
if (lv_u == null) { break; }
UnitSetCustomValue(lv_u, 1, PointGetX(UnitGetPosition(lv_u)));
UnitSetCustomValue(lv_u, 2, PointGetY(UnitGetPosition(lv_u)));
UnitIssueOrder(lv_u, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(gv_critterHavens[lv_index])), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:2406
UnitGroupAdd(lv_prisonerGroup, auto395C2B50_var);
lv_randomPoint = RegionRandomPoint(RegionFromId(45));
UnitSetCustomValue(auto395C2B50_var, 0, PointGetX(UnitGetPosition(auto395C2B50_var)));
UnitSetCustomValue(auto395C2B50_var, 1, PointGetY(UnitGetPosition(auto395C2B50_var)));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:2419
if ((RandomInt(1, 40) == 1)) {
lv_randomPoint = RegionRandomPoint(RegionFromId(45));
UnitSetCustomValue(auto67BD9FEE_var, 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(auto67BD9FEE_var, 1, PointGetY(lv_randomPoint));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:2653
UnitGroupAdd(lv_prisonerGroup, auto1BE7B4F4_var);
lv_randomPoint = RegionRandomPoint(RegionFromId(47));
UnitSetCustomValue(auto1BE7B4F4_var, 0, PointGetX(UnitGetPosition(auto1BE7B4F4_var)));
UnitSetCustomValue(auto1BE7B4F4_var, 1, PointGetY(UnitGetPosition(auto1BE7B4F4_var)));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:2666
if ((RandomInt(1, 32) == 1)) {
lv_randomPoint = RegionRandomPoint(RegionFromId(47));
UnitSetCustomValue(auto0F10452F_var, 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(auto0F10452F_var, 1, PointGetY(lv_randomPoint));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:372
// Implementation
lv_xDelta = (PointGetX(lp_target) - PointGetX(lp_source));
lv_yDelta = (PointGetY(lp_target) - PointGetY(lp_source));
auto9CED6B2F_g = lp_units;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:372
// Implementation
lv_xDelta = (PointGetX(lp_target) - PointGetX(lp_source));
lv_yDelta = (PointGetY(lp_target) - PointGetY(lp_source));
auto9CED6B2F_g = lp_units;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2285
else {
}
if ((PointGetX(lv_currentCameraLoc) < (PointGetX(gv_priorCameraLoc) - gv_threshold))) {
gv_scrolledLEFT = true;
gv_tEXTLEFT = StringExternal("Param/Value/373F4DCC");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2285
else {
}
if ((PointGetX(lv_currentCameraLoc) < (PointGetX(gv_priorCameraLoc) - gv_threshold))) {
gv_scrolledLEFT = true;
gv_tEXTLEFT = StringExternal("Param/Value/373F4DCC");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2292
else {
}
if ((PointGetX(lv_currentCameraLoc) > (PointGetX(gv_priorCameraLoc) + gv_threshold))) {
gv_scrolledRIGHT = true;
gv_tEXTRIGHT = StringExternal("Param/Value/195F1DF9");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2292
else {
}
if ((PointGetX(lv_currentCameraLoc) > (PointGetX(gv_priorCameraLoc) + gv_threshold))) {
gv_scrolledRIGHT = true;
gv_tEXTRIGHT = StringExternal("Param/Value/195F1DF9");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2361
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, lv_dropSpot);
if ((PointGetX(lv_dropSpot) < PointGetX(PointFromId(246)))) {
AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(246), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2361
AIAttackWaveSetTargetPoint(gv_p2_ZERG, PointFromId(724));
AIAttackWaveSetGatherPoint(gv_p2_ZERG, lv_dropSpot);
if ((PointGetX(lv_dropSpot) < PointGetX(PointFromId(246)))) {
AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(246), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2365
}
if ((PointGetX(lv_dropSpot) < PointGetX(PointFromId(248)))) {
AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(248), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2365
}
if ((PointGetX(lv_dropSpot) < PointGetX(PointFromId(248)))) {
AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(248), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2758
UnitGroupAdd(gv_zergSpeedBumpUnits, EventUnit());
lv_randomPoint = RegionRandomPoint(RegionFromId(62));
UnitSetCustomValue(EventUnit(), 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(EventUnit(), 1, PointGetY(lv_randomPoint));
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(EventUnit(), 0), UnitGetCustomValue(EventUnit(), 1))), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2798
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));
UnitSetCustomValue(autoB111683E_var, 1, PointGetY(lv_randomPoint));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:2360
lv_d = DistanceBetweenPoints(lv_a, lv_b);
lv_di = FixedToInt((lv_d / 5.0));
lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
gv_soundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:2366
lv_i = 1;
for ( ; ( (auto04D15821_ai >= 0 && lv_i <= auto04D15821_ae) || (auto04D15821_ai < 0 && lv_i >= auto04D15821_ae) ) ; lv_i += auto04D15821_ai ) {
lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:824
lv_u = UnitGroupUnitFromEnd(auto728A7CC6_g, auto728A7CC6_u);
if (lv_u == null) { break; }
UnitSetCustomValue(lv_u, 0, PointGetX(UnitGetPosition(lv_u)));
UnitSetCustomValue(lv_u, 1, PointGetY(UnitGetPosition(lv_u)));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1123
}
gv_wall_of_Fire_DamageRegion = RegionRect(PointGetX(PointWithOffset(PointFromId(142), 0.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(UnitGetPosition(gv_wALLOFFIRE)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
gv_wall_of_Fire_VisionRegion = RegionRect(PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), -4.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), 3.0, 0.0)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
if ((ModI(TriggerGetExecCount(TriggerGetCurrent()), 4) == 0)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1123
}
gv_wall_of_Fire_DamageRegion = RegionRect(PointGetX(PointWithOffset(PointFromId(142), 0.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(UnitGetPosition(gv_wALLOFFIRE)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
gv_wall_of_Fire_VisionRegion = RegionRect(PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), -4.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), 3.0, 0.0)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
if ((ModI(TriggerGetExecCount(TriggerGetCurrent()), 4) == 0)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1124
gv_wall_of_Fire_DamageRegion = RegionRect(PointGetX(PointWithOffset(PointFromId(142), 0.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(UnitGetPosition(gv_wALLOFFIRE)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
gv_wall_of_Fire_VisionRegion = RegionRect(PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), -4.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), 3.0, 0.0)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
if ((ModI(TriggerGetExecCount(TriggerGetCurrent()), 4) == 0)) {
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1124
gv_wall_of_Fire_DamageRegion = RegionRect(PointGetX(PointWithOffset(PointFromId(142), 0.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(UnitGetPosition(gv_wALLOFFIRE)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
gv_wall_of_Fire_VisionRegion = RegionRect(PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), -4.0, 16.0)), PointGetY(PointFromId(122)), PointGetX(PointWithOffset(UnitGetPosition(gv_wALLOFFIRE), 3.0, 0.0)), PointGetY(PointWithOffset(PointFromId(142), 0.0, 16.0)));
if ((ModI(TriggerGetExecCount(TriggerGetCurrent()), 4) == 0)) {
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1132
lv_i = 0;
for ( ; ( (auto4CA18CCC_ai >= 0 && lv_i <= auto4CA18CCC_ae) || (auto4CA18CCC_ai < 0 && lv_i >= auto4CA18CCC_ae) ) ; lv_i += auto4CA18CCC_ai ) {
PlayerCreateEffectPoint(1, "WallOfFireDummy", Point(PointGetX(UnitGetPosition(gv_wALLOFFIRE)), ((IntToFixed(lv_i) * 3.5) + PointGetY(PointFromId(122)))));
}
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1254
autoDBE4EF12_var = UnitGroupUnitFromEnd(autoDBE4EF12_g, autoDBE4EF12_u);
if (autoDBE4EF12_var == null) { break; }
if ((PointGetX(UnitGetPosition(autoDBE4EF12_var)) <= (PointGetX(UnitGetPosition(gv_wALLOFFIRE)) + 5.0))) {
TriggerEnable(TriggerGetCurrent(), false);
TechTreeAbilityAllow(gv_pLAYER02_PROTOSS, AbilityCommand("Blink", 0), true);