# Facing Angle Of Point
Grammar — Facing of p
Flags —Native
|Function
Returns the facing angle of the specified point as a real value, in degrees.
# Arguments
point
— Point
Returns — fixed
native fixed PointGetFacing(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/thorner01.sc2map/MapScript.galaxy:2062
gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort = UnitLastCreated();
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, (PointGetFacing(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition) + gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle))), c_orderQueueReplace);
}
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2069
lv_i = 1;
for ( ; ( (auto788B0C12_ai >= 0 && lv_i <= auto788B0C12_ae) || (auto788B0C12_ai < 0 && lv_i >= auto788B0C12_ae) ) ; lv_i += auto788B0C12_ai ) {
UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, (PointGetFacing(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition) + gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle))), c_orderQueueReplace);
}
if ((UnitIsAlive(gv_trainList[lv_trainIndex].lv_trainCars[1]) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5497
UnitIssueOrder(UnitFromId(4), Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
UnitSetPosition(UnitFromId(4), PointFromId(174), false);
UnitSetFacing(UnitFromId(4), PointGetFacing(PointFromId(174)), 0.0);
libNtve_gf_PauseUnit(UnitFromId(4), false);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5660
UnitSetPosition(gv_odin, PointFromId(650), true);
UnitIssueOrder(UnitFromId(2), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(650)), c_orderQueueReplace);
UnitSetFacing(gv_odin, PointGetFacing(PointFromId(650)), 0.0);
UnitIssueOrder(UnitFromId(2), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
UnitRemove(UnitFromId(430));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5861
libNtve_gf_MakeUnitInvulnerable(gv_odin, true);
UnitSetPosition(gv_odin, PointFromId(2250), false);
UnitSetFacing(gv_odin, PointGetFacing(PointFromId(160)), 0.0);
UnitIssueOrder(gv_odin, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(160)), c_orderQueueReplace);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:744
// Implementation
libNtve_gf_CreateUnitsAtPoint2(1, lp_unitType, 0, lp_player, PointWithOffsetPolar(gv_briefingParadePoints[1], lp_polarDistance, (PointGetFacing(gv_briefingParadePoints[1]) + lp_polarRadius)));
UnitGroupAdd(gv_briefingParadeGroup, UnitLastCreated());
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.5);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:750
lv_i = 2;
for ( ; ( (auto5E4EFB6A_ai >= 0 && lv_i <= auto5E4EFB6A_ae) || (auto5E4EFB6A_ai < 0 && lv_i >= auto5E4EFB6A_ae) ) ; lv_i += auto5E4EFB6A_ai ) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(gv_briefingParadePoints[lv_i], lp_polarDistance, (PointGetFacing(gv_briefingParadePoints[lv_i]) + lp_polarRadius))), c_orderQueueAddToEnd);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:302
// Implementation
UnitIssueOrder(lp_u, OrderTargetingPoint(AbilityCommand("move", 0), lp_targetPoint), lp_queue);
UnitIssueOrder(lp_u, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(lp_targetPoint, 10.0, PointGetFacing(lp_targetPoint))), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3657
// Implementation
UnitIssueOrder(lp_unit, OrderTargetingPoint(AbilityCommand("move", 0), lp_targetPoint), lp_orderQueue);
UnitIssueOrder(lp_unit, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(lp_targetPoint, 10.0, PointGetFacing(lp_targetPoint))), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3716
lv_angel += lp_rotate;
lv_ret = PointWithOffsetPolar(lp_targetCenter, lv_dis, lv_angel);
PointSetFacing(lv_ret, (PointGetFacing(lp_source) + lp_rotate));
return lv_ret;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:6513
UnitSetState(gf_ActorUnit(lp_actorID), c_unitStateMoveSuppressed, false);
UnitSetPosition(gf_ActorUnit(lp_actorID), lp_location, false);
UnitSetFacing(gf_ActorUnit(lp_actorID), PointGetFacing(lp_location), 0.0);
UnitSetState(gf_ActorUnit(lp_actorID), c_unitStateMoveSuppressed, true);
gf_ClearAnimationwithblendtime(c_animNameDefault, gf_ActorUnit(lp_actorID), 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19118
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/tstory01.sc2map/MapScript.galaxy:20987
UnitSetPosition(gf_GetBGActor(lv_bGActorID), gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_target, false);
if ((gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_turnOrNot == true)) {
UnitSetFacing(gf_GetBGActor(lv_bGActorID), PointGetFacing(gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_target), 0.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:286
// Implementation
UnitIssueOrder(lp_u, OrderTargetingPoint(AbilityCommand("move", 0), lp_targetPoint), lp_queue);
UnitIssueOrder(lp_u, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(lp_targetPoint, 10.0, PointGetFacing(lp_targetPoint))), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:423
// Automatic Variable Declarations
// Variable Initialization
lv_pointBeyond = PointWithOffsetPolar(lp_moveTarget, 10.0, PointGetFacing(lp_moveTarget));
// Implementation
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5828
gf_ArmSilo(UnitFromId(188));
UnitSetPosition(gv_nova, PointFromId(285), false);
UnitSetFacing(gv_nova, PointGetFacing(PointFromId(285)), 0.0);
libNtve_gf_PauseUnit(gv_nova, false);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER02_TOSH, PointFromId(236));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5878
Wait(1.0, c_timeGame);
UnitSetPosition(gv_nova, PointFromId(4), false);
UnitSetFacing(gv_nova, PointGetFacing(PointFromId(285)), 0.0);
libNtve_gf_PauseUnit(gv_nova, false);
UnitIssueOrder(gv_nova, OrderTargetingPoint(AbilityCommand("HeroNuclearStrike", 0), PointFromId(53)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:770
if (auto36505A94_val == 0.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(483)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(483), 1.0, PointGetFacing(PointFromId(483)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 1.0) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:774
else if (auto36505A94_val == 1.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(484)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(484), 1.0, PointGetFacing(PointFromId(484)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 2.0) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:778
else if (auto36505A94_val == 2.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(485)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(485), 1.0, PointGetFacing(PointFromId(485)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 3.0) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:782
else if (auto36505A94_val == 3.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(486)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(486), 1.0, PointGetFacing(PointFromId(486)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 4.0) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:786
else if (auto36505A94_val == 4.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(487)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(487), 1.0, PointGetFacing(PointFromId(487)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 5.0) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:790
else if (auto36505A94_val == 5.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(488)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(488), 1.0, PointGetFacing(PointFromId(488)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 6.0) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:794
else if (auto36505A94_val == 6.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(391)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(391), 1.0, PointGetFacing(PointFromId(391)))), c_orderQueueAddToEnd);
Wait(1.0, c_timeGame);
UnitIssueOrder(UnitFromId(317), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(489)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11380
UnitRemove(UnitFromId(1537));
UnitSetPosition(gv_tHEONEBROODMOTHER, PointFromId(162), false);
UnitSetFacing(gv_tHEONEBROODMOTHER, PointGetFacing(PointFromId(162)), 0.0);
UnitIssueOrder(gv_tHEONEBROODMOTHER, Order(AbilityCommand("BurrowQueenUp", 0)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(1, "InfestedCivilian", 0, gv_p2_ZERG, PointFromId(400));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4942
lv_tempUnitGroup = UnitGroup(null, gv_pLAYER_USER, RegionFromId(12), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(527)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(527), 1.0, PointGetFacing(PointFromId(527)))), c_orderQueueAddToEnd);
lv_tempUnitGroup = UnitGroup(null, gv_pLAYER_USER, RegionFromId(4), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(528)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4945
lv_tempUnitGroup = UnitGroup(null, gv_pLAYER_USER, RegionFromId(4), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(528)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(528), 1.0, PointGetFacing(PointFromId(528)))), c_orderQueueAddToEnd);
CameraApplyInfo(gv_pLAYER_USER, CameraInfoFromId(1237), 0.0, -1, 10, true);
Wait(0.1, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5563
lv_i = 1;
for ( ; ( (autoBB1C8C2F_ai >= 0 && lv_i <= autoBB1C8C2F_ae) || (autoBB1C8C2F_ai < 0 && lv_i >= autoBB1C8C2F_ae) ) ; lv_i += autoBB1C8C2F_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointFromId(156), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5567
lv_i = 1;
for ( ; ( (auto7ADDB744_ai >= 0 && lv_i <= auto7ADDB744_ae) || (auto7ADDB744_ai < 0 && lv_i >= auto7ADDB744_ae) ) ; lv_i += auto7ADDB744_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 2.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5567
lv_i = 1;
for ( ; ( (auto7ADDB744_ai >= 0 && lv_i <= auto7ADDB744_ae) || (auto7ADDB744_ai < 0 && lv_i >= auto7ADDB744_ae) ) ; lv_i += auto7ADDB744_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 2.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5571
lv_i = 1;
for ( ; ( (auto91B88097_ai >= 0 && lv_i <= auto91B88097_ae) || (auto91B88097_ai < 0 && lv_i >= auto91B88097_ae) ) ; lv_i += auto91B88097_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 4.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5571
lv_i = 1;
for ( ; ( (auto91B88097_ai >= 0 && lv_i <= auto91B88097_ae) || (auto91B88097_ai < 0 && lv_i >= auto91B88097_ae) ) ; lv_i += auto91B88097_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 4.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5575
lv_i = 1;
for ( ; ( (auto7D942836_ai >= 0 && lv_i <= auto7D942836_ae) || (auto7D942836_ai < 0 && lv_i >= auto7D942836_ae) ) ; lv_i += auto7D942836_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 6.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5575
lv_i = 1;
for ( ; ( (auto7D942836_ai >= 0 && lv_i <= auto7D942836_ae) || (auto7D942836_ai < 0 && lv_i >= auto7D942836_ae) ) ; lv_i += auto7D942836_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 6.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5579
lv_i = 1;
for ( ; ( (auto600C0ABB_ai >= 0 && lv_i <= auto600C0ABB_ae) || (auto600C0ABB_ai < 0 && lv_i >= auto600C0ABB_ae) ) ; lv_i += auto600C0ABB_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), -2.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5579
lv_i = 1;
for ( ; ( (auto600C0ABB_ai >= 0 && lv_i <= auto600C0ABB_ae) || (auto600C0ABB_ai < 0 && lv_i >= auto600C0ABB_ae) ) ; lv_i += auto600C0ABB_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), -2.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:5583
lv_i = 1;
for ( ; ( (auto253E4128_ai >= 0 && lv_i <= auto253E4128_ae) || (auto253E4128_ai < 0 && lv_i >= auto253E4128_ae) ) ; lv_i += auto253E4128_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), -4.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:2062
gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort = UnitLastCreated();
AISetUnitScriptControlled(UnitLastCreated(), true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, (PointGetFacing(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition) + gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle))), c_orderQueueReplace);
}
while (true) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:2069
lv_i = 1;
for ( ; ( (auto788B0C12_ai >= 0 && lv_i <= auto788B0C12_ae) || (auto788B0C12_ai < 0 && lv_i >= auto788B0C12_ae) ) ; lv_i += auto788B0C12_ai ) {
UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, (PointGetFacing(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition) + gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle))), c_orderQueueReplace);
}
if ((UnitIsAlive(gv_trainList[lv_trainIndex].lv_trainCars[1]) == false)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:5497
UnitIssueOrder(UnitFromId(4), Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
UnitSetPosition(UnitFromId(4), PointFromId(174), false);
UnitSetFacing(UnitFromId(4), PointGetFacing(PointFromId(174)), 0.0);
libNtve_gf_PauseUnit(UnitFromId(4), false);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:5660
UnitSetPosition(gv_odin, PointFromId(650), true);
UnitIssueOrder(UnitFromId(2), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(650)), c_orderQueueReplace);
UnitSetFacing(gv_odin, PointGetFacing(PointFromId(650)), 0.0);
UnitIssueOrder(UnitFromId(2), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
UnitRemove(UnitFromId(430));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:5861
libNtve_gf_MakeUnitInvulnerable(gv_odin, true);
UnitSetPosition(gv_odin, PointFromId(2250), false);
UnitSetFacing(gv_odin, PointGetFacing(PointFromId(160)), 0.0);
UnitIssueOrder(gv_odin, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(160)), c_orderQueueReplace);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:744
// Implementation
libNtve_gf_CreateUnitsAtPoint2(1, lp_unitType, 0, lp_player, PointWithOffsetPolar(gv_briefingParadePoints[1], lp_polarDistance, (PointGetFacing(gv_briefingParadePoints[1]) + lp_polarRadius)));
UnitGroupAdd(gv_briefingParadeGroup, UnitLastCreated());
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.5);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:750
lv_i = 2;
for ( ; ( (auto5E4EFB6A_ai >= 0 && lv_i <= auto5E4EFB6A_ae) || (auto5E4EFB6A_ai < 0 && lv_i >= auto5E4EFB6A_ae) ) ; lv_i += auto5E4EFB6A_ai ) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(gv_briefingParadePoints[lv_i], lp_polarDistance, (PointGetFacing(gv_briefingParadePoints[lv_i]) + lp_polarRadius))), c_orderQueueAddToEnd);
}
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:302
// Implementation
UnitIssueOrder(lp_u, OrderTargetingPoint(AbilityCommand("move", 0), lp_targetPoint), lp_queue);
UnitIssueOrder(lp_u, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(lp_targetPoint, 10.0, PointGetFacing(lp_targetPoint))), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3657
// Implementation
UnitIssueOrder(lp_unit, OrderTargetingPoint(AbilityCommand("move", 0), lp_targetPoint), lp_orderQueue);
UnitIssueOrder(lp_unit, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(lp_targetPoint, 10.0, PointGetFacing(lp_targetPoint))), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3716
lv_angel += lp_rotate;
lv_ret = PointWithOffsetPolar(lp_targetCenter, lv_dis, lv_angel);
PointSetFacing(lv_ret, (PointGetFacing(lp_source) + lp_rotate));
return lv_ret;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:6513
UnitSetState(gf_ActorUnit(lp_actorID), c_unitStateMoveSuppressed, false);
UnitSetPosition(gf_ActorUnit(lp_actorID), lp_location, false);
UnitSetFacing(gf_ActorUnit(lp_actorID), PointGetFacing(lp_location), 0.0);
UnitSetState(gf_ActorUnit(lp_actorID), c_unitStateMoveSuppressed, true);
gf_ClearAnimationwithblendtime(c_animNameDefault, gf_ActorUnit(lp_actorID), 0.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19118
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/tstory01.sc2map — MapScript.galaxy:20987
UnitSetPosition(gf_GetBGActor(lv_bGActorID), gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_target, false);
if ((gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_turnOrNot == true)) {
UnitSetFacing(gf_GetBGActor(lv_bGActorID), PointGetFacing(gv_bGActors[lv_bGActorID].lv_nodes[lv_currentNodeID].lv_target), 0.0);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:286
// Implementation
UnitIssueOrder(lp_u, OrderTargetingPoint(AbilityCommand("move", 0), lp_targetPoint), lp_queue);
UnitIssueOrder(lp_u, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(lp_targetPoint, 10.0, PointGetFacing(lp_targetPoint))), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:423
// Automatic Variable Declarations
// Variable Initialization
lv_pointBeyond = PointWithOffsetPolar(lp_moveTarget, 10.0, PointGetFacing(lp_moveTarget));
// Implementation
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:5828
gf_ArmSilo(UnitFromId(188));
UnitSetPosition(gv_nova, PointFromId(285), false);
UnitSetFacing(gv_nova, PointGetFacing(PointFromId(285)), 0.0);
libNtve_gf_PauseUnit(gv_nova, false);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER02_TOSH, PointFromId(236));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2map — MapScript.galaxy:5878
Wait(1.0, c_timeGame);
UnitSetPosition(gv_nova, PointFromId(4), false);
UnitSetFacing(gv_nova, PointGetFacing(PointFromId(285)), 0.0);
libNtve_gf_PauseUnit(gv_nova, false);
UnitIssueOrder(gv_nova, OrderTargetingPoint(AbilityCommand("HeroNuclearStrike", 0), PointFromId(53)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:770
if (auto36505A94_val == 0.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(483)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(483), 1.0, PointGetFacing(PointFromId(483)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 1.0) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:774
else if (auto36505A94_val == 1.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(484)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(484), 1.0, PointGetFacing(PointFromId(484)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 2.0) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:778
else if (auto36505A94_val == 2.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(485)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(485), 1.0, PointGetFacing(PointFromId(485)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 3.0) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:782
else if (auto36505A94_val == 3.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(486)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(486), 1.0, PointGetFacing(PointFromId(486)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 4.0) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:786
else if (auto36505A94_val == 4.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(487)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(487), 1.0, PointGetFacing(PointFromId(487)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 5.0) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:790
else if (auto36505A94_val == 5.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(488)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(488), 1.0, PointGetFacing(PointFromId(488)))), c_orderQueueAddToEnd);
}
else if (auto36505A94_val == 6.0) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:794
else if (auto36505A94_val == 6.0) {
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(391)), c_orderQueueReplace);
UnitIssueOrder(EventUnitCargo(), OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(391), 1.0, PointGetFacing(PointFromId(391)))), c_orderQueueAddToEnd);
Wait(1.0, c_timeGame);
UnitIssueOrder(UnitFromId(317), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(489)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:11380
UnitRemove(UnitFromId(1537));
UnitSetPosition(gv_tHEONEBROODMOTHER, PointFromId(162), false);
UnitSetFacing(gv_tHEONEBROODMOTHER, PointGetFacing(PointFromId(162)), 0.0);
UnitIssueOrder(gv_tHEONEBROODMOTHER, Order(AbilityCommand("BurrowQueenUp", 0)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(1, "InfestedCivilian", 0, gv_p2_ZERG, PointFromId(400));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:4942
lv_tempUnitGroup = UnitGroup(null, gv_pLAYER_USER, RegionFromId(12), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(527)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(527), 1.0, PointGetFacing(PointFromId(527)))), c_orderQueueAddToEnd);
lv_tempUnitGroup = UnitGroup(null, gv_pLAYER_USER, RegionFromId(4), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(528)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:4945
lv_tempUnitGroup = UnitGroup(null, gv_pLAYER_USER, RegionFromId(4), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(528)), c_orderQueueReplace);
UnitGroupIssueOrder(lv_tempUnitGroup, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(528), 1.0, PointGetFacing(PointFromId(528)))), c_orderQueueAddToEnd);
CameraApplyInfo(gv_pLAYER_USER, CameraInfoFromId(1237), 0.0, -1, 10, true);
Wait(0.1, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5563
lv_i = 1;
for ( ; ( (autoBB1C8C2F_ai >= 0 && lv_i <= autoBB1C8C2F_ae) || (autoBB1C8C2F_ai < 0 && lv_i >= autoBB1C8C2F_ae) ) ; lv_i += autoBB1C8C2F_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointFromId(156), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5567
lv_i = 1;
for ( ; ( (auto7ADDB744_ai >= 0 && lv_i <= auto7ADDB744_ae) || (auto7ADDB744_ai < 0 && lv_i >= auto7ADDB744_ae) ) ; lv_i += auto7ADDB744_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 2.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5567
lv_i = 1;
for ( ; ( (auto7ADDB744_ai >= 0 && lv_i <= auto7ADDB744_ae) || (auto7ADDB744_ai < 0 && lv_i >= auto7ADDB744_ae) ) ; lv_i += auto7ADDB744_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 2.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5571
lv_i = 1;
for ( ; ( (auto91B88097_ai >= 0 && lv_i <= auto91B88097_ae) || (auto91B88097_ai < 0 && lv_i >= auto91B88097_ae) ) ; lv_i += auto91B88097_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 4.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5571
lv_i = 1;
for ( ; ( (auto91B88097_ai >= 0 && lv_i <= auto91B88097_ae) || (auto91B88097_ai < 0 && lv_i >= auto91B88097_ae) ) ; lv_i += auto91B88097_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 4.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5575
lv_i = 1;
for ( ; ( (auto7D942836_ai >= 0 && lv_i <= auto7D942836_ae) || (auto7D942836_ai < 0 && lv_i >= auto7D942836_ae) ) ; lv_i += auto7D942836_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 6.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5575
lv_i = 1;
for ( ; ( (auto7D942836_ai >= 0 && lv_i <= auto7D942836_ae) || (auto7D942836_ai < 0 && lv_i >= auto7D942836_ae) ) ; lv_i += auto7D942836_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), 6.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5579
lv_i = 1;
for ( ; ( (auto600C0ABB_ai >= 0 && lv_i <= auto600C0ABB_ae) || (auto600C0ABB_ai < 0 && lv_i >= auto600C0ABB_ae) ) ; lv_i += auto600C0ABB_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), -2.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5579
lv_i = 1;
for ( ; ( (auto600C0ABB_ai >= 0 && lv_i <= auto600C0ABB_ae) || (auto600C0ABB_ai < 0 && lv_i >= auto600C0ABB_ae) ) ; lv_i += auto600C0ABB_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), -2.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:5583
lv_i = 1;
for ( ; ( (auto253E4128_ai >= 0 && lv_i <= auto253E4128_ae) || (auto253E4128_ai < 0 && lv_i >= auto253E4128_ae) ) ; lv_i += auto253E4128_ai ) {
libNtve_gf_UnitCreateFacingPoint(1, "Zealot", 0, gv_p01_PLAYER, PointWithOffsetPolar(PointWithOffsetPolar(PointFromId(156), -4.0, PointGetFacing(PointFromId(370))), ((IntToFixed(lv_i) * 2.0) - 10.0), (PointGetFacing(PointFromId(156)) - 90.0)), PointFromId(370));
}
lv_i = 1;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:828
}
libSwaC_gf_CreateHero2(PointFromId(807), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(807)), 0, libSwaC_ge_KerriganCreatePurpose_GamePlay);
gv_kerrigan = UnitLastCreated();
libSwaC_gf_SetHeroPanelUnit(1, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5214
libNtve_gf_PauseUnit(gv_kerrigan, false);
UnitSetPosition(gv_kerrigan, PointFromId(1621), false);
UnitSetFacing(gv_kerrigan, PointGetFacing(PointFromId(1621)), 0.0);
gv_introEggs = UnitFromId(1626);
UnitSetState(gv_introEggs, c_unitStateStatusBar, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5258
Wait(1.0, c_timeReal);
UnitIssueOrder(gv_kerrigan, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1625)), c_orderQueueReplace);
UnitIssueOrder(gv_kerrigan, OrderTargetingPoint(AbilityCommand("move", 4), PointWithOffsetPolar(PointFromId(1625), 1.0, PointGetFacing(PointFromId(1625)))), c_orderQueueAddToEnd);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(1622), 4.0, -1, 10.0, true);
TransmissionWait(TransmissionLastSent(), 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5346
UnitSetPosition(gv_kerrigan, PointFromId(807), false);
UnitIssueOrder(gv_kerrigan, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
UnitSetFacing(gv_kerrigan, PointGetFacing(PointFromId(807)), 0.0);
UnitSetPosition(gv_zagara, PointFromId(616), false);
UnitIssueOrder(gv_zagara, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5964
UnitRemove(autoEF98789C_var);
}
libSwaC_gf_CreateHero2(PointFromId(822), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(822)), 0, libSwaC_ge_KerriganCreatePurpose_Cinematic);
gv_victoryKerrigan = UnitLastCreated();
UnitSetState(gv_victoryKerrigan, c_unitStateFidget, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:903
}
libSwaC_gf_CreateHero2(PointFromId(16), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(16)), 0, libSwaC_ge_KerriganCreatePurpose_GamePlay);
gv_kerrigan = UnitLastCreated();
libSwaC_gf_SetHeroPanelUnit(1, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:1116
UnitBehaviorRemove(gv_tacOpsCenter, "SensorTowerRadar", 1);
libSwaC_gf_CreateHero2(PointFromId(157), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(157)), 0, libSwaC_ge_KerriganCreatePurpose_GamePlay);
gv_tHEONEKERRIGAN = UnitLastCreated();
libSwaC_gf_SetHeroPanelUnit(1, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:1144
}
libSwaC_gf_CreateHero2(PointFromId(644), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(644)), 0, libSwaC_ge_KerriganCreatePurpose_GamePlay);
gv_kerrigan = UnitLastCreated();
libSwaC_gf_SetHeroPanelUnit(1, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:7390
libNtve_gf_ShowHideUnit(auto3E3B7179_var, false);
}
libSwaC_gf_CreateHero2(PointFromId(428), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(428)), 0, libSwaC_ge_KerriganCreatePurpose_Cinematic);
gv_cinematicKerrigan = UnitLastCreated();
UnitSetState(gv_cinematicKerrigan, c_unitStateFidget, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/ai96FA581E.galaxy:501
if (d == 4) { createCount = 2; }
if (createCount > 0) {
UnitCreate(createCount, "Scout", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(ai96FA581E_wave2_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/ai96FA581E.galaxy:640
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Zealot", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(ai96FA581E_wave5_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/ai96FA581E.galaxy:647
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Scout", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(ai96FA581E_wave5_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/ai96FA581E.galaxy:786
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "VoidRay", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(ai96FA581E_wave6_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/ai96FA581E.galaxy:793
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Scout", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(ai96FA581E_wave6_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/ai96FA581E.galaxy:932
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Stalker", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(ai96FA581E_wave7_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/ai96FA581E.galaxy:939
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Archon", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(ai96FA581E_wave7_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/aiFD078E3C.galaxy:854
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Zealot", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(aiFD078E3C_wave7_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/aiFD078E3C.galaxy:861
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Stalker", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(aiFD078E3C_wave7_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/aiFD078E3C.galaxy:1002
if (d == 4) { createCount = 2; }
if (createCount > 0) {
UnitCreate(createCount, "Scout", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(aiFD078E3C_wave8_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/aiFD078E3C.galaxy:1142
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Immortal", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(aiFD078E3C_wave9_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/aiFD078E3C.galaxy:1149
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Zealot", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(aiFD078E3C_wave9_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/aiFD078E3C.galaxy:1156
createCount = 0;
if (createCount > 0) {
UnitCreate(createCount, "Sentry", 0, p, createPoint, PointGetFacing(createPoint));
AIAttackWaveUseGroup(p, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(aiFD078E3C_wave9_lastUnits[p], UnitLastCreatedGroup());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:1209
}
libSwaC_gf_CreateHero2(PointFromId(229), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(229)), 0, libSwaC_ge_KerriganCreatePurpose_GamePlay);
gv_kerrigan = UnitLastCreated();
libSwaC_gf_SetHeroPanelUnit(1, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:5222
UnitPauseAll(false);
UnitIssueOrder(gv_kerrigan, OrderTargetingUnit(AbilityCommand("move", 4), UnitFromId(143)), c_orderQueueReplace);
UnitSetFacing(gv_kerrigan, PointGetFacing(PointFromId(229)), 0.0);
GameTimeOfDayPause(false);
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:5539
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(186), 0.0, -1, 10.0, true);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(61), 3.0, -1, 10.0, true);
libSwaC_gf_CreateHero2(PointFromId(692), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(692)), 0, libSwaC_ge_KerriganCreatePurpose_Cinematic);
gv_victoryKerrigan = UnitLastCreated();
UnitSetState(gv_victoryKerrigan, c_unitStateFidget, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:883
}
else {
UnitCreate(1, "HybridReleaseFallbackUnit", c_unitCreateIgnorePlacement, 0, gv_hybridCellLocation[lp_index], PointGetFacing(gv_hybridCellLocation[lp_index]));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("HybridReleaseFallback", 0), gv_hybridReleaseLocation[lp_index]), c_orderQueueReplace);
}