# Y Of Point
Grammar — Y of p
Flags —Native
|Function
Returns the Y coordinate of the specified point as a real value.
# Arguments
point
— Point
Returns — fixed
native fixed PointGetY(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:2430
// Implementation
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:2441
else {
}
if ((lv_yofSawPosition < PointGetY(gv_screenLowerBound))) {
lv_reflectionNormalFacing = 90.0;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2446
else {
}
if ((lv_yofSawPosition > PointGetY(gv_screenUpperBound))) {
lv_reflectionNormalFacing = 270.0;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2508
// 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));
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: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/tarcade.sc2map/MapScript.galaxy:2561
// Implementation
lv_bounds = gf_GetCameraBoundary();
return (lp_y + PointGetY(RegionGetBoundsMax(lv_bounds)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2845
// Implementation
lv_type = UnitGetType(lp_mob);
lv_modifiedPoint = libNtve_gf_PointFromXYZ(PointGetX(lp_target), PointGetY(lp_target), 15.0);
auto6F423F11_val = lv_type;
if (auto6F423F11_val == "SS_Scout") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:304
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));
lv_msg = (lv_msg + StringExternal("Param/Value/8E58C295"));
lv_msg = (lv_msg + FixedToText(UnitGetFacing(lp_u), 0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3708
// Implementation
lv_x1 = PointGetX(lp_sourceCenter);
lv_y1 = PointGetY(lp_sourceCenter);
lv_x2 = PointGetX(lp_source);
lv_y2 = PointGetY(lp_source);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3710
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)));
lv_dis = DistanceBetweenPoints(lp_sourceCenter, lv_sourceAfterScaled);
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:1237
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);
UnitIssueOrder(lv_u, Order(AbilityCommand("RedstoneLavaCritterBurrow", 0)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2407
lv_randomPoint = RegionRandomPoint(RegionFromId(45));
UnitSetCustomValue(auto395C2B50_var, 0, PointGetX(UnitGetPosition(auto395C2B50_var)));
UnitSetCustomValue(auto395C2B50_var, 1, PointGetY(UnitGetPosition(auto395C2B50_var)));
}
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2420
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:2654
lv_randomPoint = RegionRandomPoint(RegionFromId(47));
UnitSetCustomValue(auto1BE7B4F4_var, 0, PointGetX(UnitGetPosition(auto1BE7B4F4_var)));
UnitSetCustomValue(auto1BE7B4F4_var, 1, PointGetY(UnitGetPosition(auto1BE7B4F4_var)));
}
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2667
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:373
// Implementation
lv_xDelta = (PointGetX(lp_target) - PointGetX(lp_source));
lv_yDelta = (PointGetY(lp_target) - PointGetY(lp_source));
auto9CED6B2F_g = lp_units;
auto9CED6B2F_u = UnitGroupCount(auto9CED6B2F_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:373
// Implementation
lv_xDelta = (PointGetX(lp_target) - PointGetX(lp_source));
lv_yDelta = (PointGetY(lp_target) - PointGetY(lp_source));
auto9CED6B2F_g = lp_units;
auto9CED6B2F_u = UnitGroupCount(auto9CED6B2F_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2271
lv_currentCameraLoc = CameraGetTarget(gv_p01_USER);
if ((PointGetY(lv_currentCameraLoc) > (PointGetY(gv_priorCameraLoc) + gv_threshold))) {
gv_scrolledUP = true;
gv_tEXTUP = StringExternal("Param/Value/4946BD30");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2271
lv_currentCameraLoc = CameraGetTarget(gv_p01_USER);
if ((PointGetY(lv_currentCameraLoc) > (PointGetY(gv_priorCameraLoc) + gv_threshold))) {
gv_scrolledUP = true;
gv_tEXTUP = StringExternal("Param/Value/4946BD30");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2278
else {
}
if ((PointGetY(lv_currentCameraLoc) < (PointGetY(gv_priorCameraLoc) - gv_threshold))) {
gv_scrolledDOWN = true;
gv_tEXTDOWN = StringExternal("Param/Value/F552FB25");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2278
else {
}
if ((PointGetY(lv_currentCameraLoc) < (PointGetY(gv_priorCameraLoc) - gv_threshold))) {
gv_scrolledDOWN = true;
gv_tEXTDOWN = StringExternal("Param/Value/F552FB25");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2759
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);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2799
lv_randomPoint = RegionRandomPoint(RegionFromId(62));
UnitSetCustomValue(autoB111683E_var, 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(autoB111683E_var, 1, PointGetY(lv_randomPoint));
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2361
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);
auto04D15821_ae = lv_di;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2367
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:825
if (lv_u == null) { break; }
UnitSetCustomValue(lv_u, 0, PointGetX(UnitGetPosition(lv_u)));
UnitSetCustomValue(lv_u, 1, PointGetY(UnitGetPosition(lv_u)));
}
while (true) {
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:1128
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal TreeFire");
lv_iterations = FixedToInt((((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))) / 3.5) - ModF((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))), 3.5)));
auto4CA18CCC_ae = lv_iterations;
lv_i = 0;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1128
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal TreeFire");
lv_iterations = FixedToInt((((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))) / 3.5) - ModF((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))), 3.5)));
auto4CA18CCC_ae = lv_iterations;
lv_i = 0;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1128
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal TreeFire");
lv_iterations = FixedToInt((((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))) / 3.5) - ModF((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))), 3.5)));
auto4CA18CCC_ae = lv_iterations;
lv_i = 0;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1128
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal TreeFire");
lv_iterations = FixedToInt((((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))) / 3.5) - ModF((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))), 3.5)));
auto4CA18CCC_ae = lv_iterations;
lv_i = 0;
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/tvalerian01.sc2map/MapScript.galaxy:6797
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:6812
lv_randomSpot = RegionRandomPoint(gv_briefingSlaughterAreas[lv_i].lv_zergRegion);
UnitSetCustomValue(auto4771A35A_var, 0, PointGetX(lv_randomSpot));
UnitSetCustomValue(auto4771A35A_var, 1, PointGetY(lv_randomSpot));
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6885
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());
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4328
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);
UnitGroupAdd(lv_overlordAttackGroup, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:486
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));
UnitSetCustomValue(lp_mUnit, 4, PointGetY(lp_mPointEnd));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:488
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);
UnitGroupAdd(gv_patrollingZerg, lp_mUnit);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:2422
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:2835
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);
UnitGroupAdd(lv_unitGroup, auto304B77BB_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:2847
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);
UnitGroupAdd(lv_unitGroup, autoBDE3D882_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:3249
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:3740
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);
UnitGroupAdd(lv_unitGroup, auto6FFEBD37_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:3752
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);
UnitGroupAdd(lv_unitGroup, auto9AD2D63A_var);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:6053
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:2430
// Implementation
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:2441
else {
}
if ((lv_yofSawPosition < PointGetY(gv_screenLowerBound))) {
lv_reflectionNormalFacing = 90.0;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2446
else {
}
if ((lv_yofSawPosition > PointGetY(gv_screenUpperBound))) {
lv_reflectionNormalFacing = 270.0;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2508
// 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));
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: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/tarcade.sc2map — MapScript.galaxy:2561
// Implementation
lv_bounds = gf_GetCameraBoundary();
return (lp_y + PointGetY(RegionGetBoundsMax(lv_bounds)));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2845
// Implementation
lv_type = UnitGetType(lp_mob);
lv_modifiedPoint = libNtve_gf_PointFromXYZ(PointGetX(lp_target), PointGetY(lp_target), 15.0);
auto6F423F11_val = lv_type;
if (auto6F423F11_val == "SS_Scout") {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:304
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));
lv_msg = (lv_msg + StringExternal("Param/Value/8E58C295"));
lv_msg = (lv_msg + FixedToText(UnitGetFacing(lp_u), 0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3708
// Implementation
lv_x1 = PointGetX(lp_sourceCenter);
lv_y1 = PointGetY(lp_sourceCenter);
lv_x2 = PointGetX(lp_source);
lv_y2 = PointGetY(lp_source);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3710
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)));
lv_dis = DistanceBetweenPoints(lp_sourceCenter, lv_sourceAfterScaled);
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:1237
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);
UnitIssueOrder(lv_u, Order(AbilityCommand("RedstoneLavaCritterBurrow", 0)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:2407
lv_randomPoint = RegionRandomPoint(RegionFromId(45));
UnitSetCustomValue(auto395C2B50_var, 0, PointGetX(UnitGetPosition(auto395C2B50_var)));
UnitSetCustomValue(auto395C2B50_var, 1, PointGetY(UnitGetPosition(auto395C2B50_var)));
}
while (true) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:2420
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:2654
lv_randomPoint = RegionRandomPoint(RegionFromId(47));
UnitSetCustomValue(auto1BE7B4F4_var, 0, PointGetX(UnitGetPosition(auto1BE7B4F4_var)));
UnitSetCustomValue(auto1BE7B4F4_var, 1, PointGetY(UnitGetPosition(auto1BE7B4F4_var)));
}
while (true) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:2667
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:373
// Implementation
lv_xDelta = (PointGetX(lp_target) - PointGetX(lp_source));
lv_yDelta = (PointGetY(lp_target) - PointGetY(lp_source));
auto9CED6B2F_g = lp_units;
auto9CED6B2F_u = UnitGroupCount(auto9CED6B2F_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:373
// Implementation
lv_xDelta = (PointGetX(lp_target) - PointGetX(lp_source));
lv_yDelta = (PointGetY(lp_target) - PointGetY(lp_source));
auto9CED6B2F_g = lp_units;
auto9CED6B2F_u = UnitGroupCount(auto9CED6B2F_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2271
lv_currentCameraLoc = CameraGetTarget(gv_p01_USER);
if ((PointGetY(lv_currentCameraLoc) > (PointGetY(gv_priorCameraLoc) + gv_threshold))) {
gv_scrolledUP = true;
gv_tEXTUP = StringExternal("Param/Value/4946BD30");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2271
lv_currentCameraLoc = CameraGetTarget(gv_p01_USER);
if ((PointGetY(lv_currentCameraLoc) > (PointGetY(gv_priorCameraLoc) + gv_threshold))) {
gv_scrolledUP = true;
gv_tEXTUP = StringExternal("Param/Value/4946BD30");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2278
else {
}
if ((PointGetY(lv_currentCameraLoc) < (PointGetY(gv_priorCameraLoc) - gv_threshold))) {
gv_scrolledDOWN = true;
gv_tEXTDOWN = StringExternal("Param/Value/F552FB25");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2278
else {
}
if ((PointGetY(lv_currentCameraLoc) < (PointGetY(gv_priorCameraLoc) - gv_threshold))) {
gv_scrolledDOWN = true;
gv_tEXTDOWN = StringExternal("Param/Value/F552FB25");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2759
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);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2799
lv_randomPoint = RegionRandomPoint(RegionFromId(62));
UnitSetCustomValue(autoB111683E_var, 0, PointGetX(lv_randomPoint));
UnitSetCustomValue(autoB111683E_var, 1, PointGetY(lv_randomPoint));
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:2361
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);
auto04D15821_ae = lv_di;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:2367
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:825
if (lv_u == null) { break; }
UnitSetCustomValue(lv_u, 0, PointGetX(UnitGetPosition(lv_u)));
UnitSetCustomValue(lv_u, 1, PointGetY(UnitGetPosition(lv_u)));
}
while (true) {
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:1128
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal TreeFire");
lv_iterations = FixedToInt((((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))) / 3.5) - ModF((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))), 3.5)));
auto4CA18CCC_ae = lv_iterations;
lv_i = 0;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1128
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal TreeFire");
lv_iterations = FixedToInt((((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))) / 3.5) - ModF((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))), 3.5)));
auto4CA18CCC_ae = lv_iterations;
lv_i = 0;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1128
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal TreeFire");
lv_iterations = FixedToInt((((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))) / 3.5) - ModF((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))), 3.5)));
auto4CA18CCC_ae = lv_iterations;
lv_i = 0;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2map — MapScript.galaxy:1128
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal DoodadDeath");
libNtve_gf_SendActorMessageToGameRegion(gv_wall_of_Fire_VisionRegion, "Signal TreeFire");
lv_iterations = FixedToInt((((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))) / 3.5) - ModF((PointGetY(PointFromId(142)) - PointGetY(PointFromId(122))), 3.5)));
auto4CA18CCC_ae = lv_iterations;
lv_i = 0;
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/tvalerian01.sc2map — MapScript.galaxy:6797
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:6812
lv_randomSpot = RegionRandomPoint(gv_briefingSlaughterAreas[lv_i].lv_zergRegion);
UnitSetCustomValue(auto4771A35A_var, 0, PointGetX(lv_randomSpot));
UnitSetCustomValue(auto4771A35A_var, 1, PointGetY(lv_randomSpot));
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:6885
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());
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:4328
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);
UnitGroupAdd(lv_overlordAttackGroup, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:486
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));
UnitSetCustomValue(lp_mUnit, 4, PointGetY(lp_mPointEnd));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:488
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);
UnitGroupAdd(gv_patrollingZerg, lp_mUnit);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:2422
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:2835
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);
UnitGroupAdd(lv_unitGroup, auto304B77BB_var);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:2847
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);
UnitGroupAdd(lv_unitGroup, autoBDE3D882_var);