# Facing Angle Of Unit
Grammar — Facing of u
Flags —Native
|Function
Returns the facing angle of the unit.
# Arguments
unit
— Unit
Returns — fixed
native fixed UnitGetFacing(unit inUnit);
# Related
Category: Unit / Basic
- Unit Show Kill Display —
void
— UnitShowKillDisplay - Unit Can Path To Point —
bool
— UnitPathableToPoint - Unit Can Path To Unit —
bool
— UnitPathableToUnit - Create Units With Default Facing —
void
— libNtve_gf_CreateUnitsWithDefaultFacing - Create Units With Point Facing —
void
— libNtve_gf_CreateUnitsAtPoint2 - Create Units Facing Angle —
unitgroup
— UnitCreate - Create Units Facing Point —
unitgroup
— libNtve_gf_UnitCreateFacingPoint - Last Created Unit —
unit
— UnitLastCreated - Last Created Units —
unitgroup
— UnitLastCreatedGroup - Original Caster Of Unit —
unit
— UnitGetOriginalCaster - Effect That Created Unit —
string
<gamelink::Effect> — UnitGetOriginalEffect - Replace Unit —
void
— libNtve_gf_ReplaceUnit - Last Replaced Unit —
unit
— libNtve_gf_LastReplacedUnit - Change Owner —
void
— UnitSetOwner - Unit Owner Changes —
void
— TriggerAddEventUnitChangeOwner - Old Unit Owner —
int
— EventUnitOwnerOld - New Unit Owner —
int
— EventUnitOwnerNew - Rescue Unit —
void
— libNtve_gf_RescueUnit - Rescue Unit Group —
void
— libNtve_gf_RescueUnit2 - Kill Unit —
void
— UnitKill - Revive Unit —
void
— UnitRevive - Remove Unit —
void
— UnitRemove - Owner Of Unit —
int
— UnitGetOwner - Unit Is Alive —
bool
— UnitIsAlive - Unit Is Valid —
bool
— UnitIsValid - Unit Group Is Dead —
bool
— libNtve_gf_UnitGroupIsDead - Move Unit Instantly —
void
— UnitSetPosition - Make Unit Face Angle —
void
— UnitSetFacing - Make Unit Face Point —
void
— libNtve_gf_MakeUnitFacePoint - Position Of Unit —
point
— UnitGetPosition - Goal Position Of Unit —
point
— UnitGetGoalPosition - Facing Angle Of Unit —
fixed
— UnitGetFacing - Pause/Unpause Unit —
void
— libNtve_gf_PauseUnit - Pause/Unpause All Units —
void
— UnitPauseAll - Sleep/WakeUp Unit —
void
— libNtve_gf_SleepUnit - Show/Hide Unit —
void
— libNtve_gf_ShowHideUnit - Share Vision of Unit —
void
— libNtve_gf_ShareVisionofUnit - Unit Is Paused —
bool
— libNtve_gf_UnitIsPaused - Unit Is Sleepiing —
bool
— libNtve_gf_UnitIsSleepiing - Unit Is Hidden —
bool
— libNtve_gf_UnitIsHidden - Unit Is Visible To Player —
bool
— libNtve_gf_UnitIsVisibleToPlayer - Set Unit Custom Value —
void
— UnitSetCustomValue - Custom Value Of Unit —
fixed
— UnitGetCustomValue - Unit Enters/Leaves Region —
void
— TriggerAddEventUnitRegion - Triggering Region —
region
— EventUnitRegion - Unit Enters/Leaves Point —
void
— TriggerAddEventUnitRangePoint - Unit Enters/Leaves Range Of Unit —
void
— TriggerAddEventUnitRange - Triggering Range Unit —
unit
— EventUnitRangeUnit - Unit In Region —
bool
— libNtve_gf_UnitInRegion - Triggering Unit —
unit
— EventUnit - Load Unit Model —
void
— UnitLoadModel - Unload Unit Model —
void
— UnitUnloadModel - Agent Of Player For Unit —
unit
— UnitAgent - Change Empty Unit Variables In Events —
void
— UnitEventSetNullVariableInvalid - Name of Unit —
text
— UnitGetName - Ideal Harvester Count —
int
— UnitIdealWorkerCount - Current Harvester Count —
int
— UnitCurrentWorkerCount
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6325
}
if ((lv_facingViking == true) && (UnitIsAlive(gv_viking) == true)) {
libNtve_gf_MakeUnitFacePoint(lv_plane, UnitGetPosition(gv_viking), (AbsF((UnitGetFacing(lv_plane) - AngleBetweenPoints(lv_posCurrent, UnitGetPosition(gv_viking)))) / 30.0));
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:6916
UnitSetPropertyFixed(lv_plane, c_unitPropMovementSpeed, lv_speed);
lv_outerBounds = gf_GetOuterBoundary();
UnitIssueOrder(lv_plane, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_plane), 30.0, UnitGetFacing(lv_plane))), c_orderQueueReplace);
while (true) {
if ((UnitIsAlive(lv_plane) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:306
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));
lv_msg = (lv_msg + StringExternal("Param/Value/6AAB8E2E"));
if ((libNtve_gf_UnitIsPaused(lp_u) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2312
lv_trainMidPoint = (gv_trainList[lv_trainIndex].lv_lastCar / 2);
lv_trainMidPoint += 1;
UnitCreate(1, "AdjutantCapsule", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]), 2.0)), (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]) - 90.0));
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Birth");
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Morph");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2518
UnitGroupAdd(lv_escortGroup, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort);
if ((ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) >= 20.0) && (ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) <= 160.0)) {
UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 90.0))), c_orderQueueReplace);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2522
else {
if ((ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) >= 200.0) && (ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) <= 340.0)) {
UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 270.0))), c_orderQueueReplace);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2525
}
else {
UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 180.0))), c_orderQueueReplace);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5919
UnitGroupAdd(lv_crateUnits, UnitLastCreated());
}
libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) + 90.0)), UnitGetPosition(lv_crate));
libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) - 90.0)), UnitGetPosition(lv_crate));
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(59), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5920
}
libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) + 90.0)), UnitGetPosition(lv_crate));
libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) - 90.0)), UnitGetPosition(lv_crate));
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(59), 0.0, -1, 10, true);
CameraPan(1, UnitGetPosition(lv_crate), 0.0, -1, 10, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2891
}
UnitCreate(1, "TychusEjectMissile", 0, gv_p07_HORNERBASE, UnitGetPosition(gv_odin), UnitGetFacing(gv_odin));
lv_tychusMissile = UnitLastCreated();
UnitSetHeight(lv_tychusMissile, 16.0, 2.5);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19728
if ((StringWord(EventChatMessage(false), 2) == "")) {
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, FixedToText(UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynorMarine)), c_fixedPrecisionAny));
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26409
gf_ResetActorToLocation(ge_ActorID_ActorRaynor, PointFromId(897));
gf_MakeUnitLookAtPointWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "InstantStanding", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 0.5, UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor))), 0.5));
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_bridgeCommunicator), c_animNameDefault, "Birth", c_animFlagPlayForever | c_animFlagNonLooping, 0.0);
libNtve_gf_SetAnimationCompletion(libNtve_gf_MainActorofUnit(gv_bridgeCommunicator), c_animNameDefault, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:26677
SoundLengthQueryWait();
CameraApplyInfo(1, CameraInfoFromId(394), (SoundLengthSync(SoundLink("CantinaTychusTychus00083", 0)) + 1.0), -1, 20, true);
gf_MakeUnitLookAtPointWithDebugControl(gf_ActorUnit(ge_ActorID_ActorTychus), "VerySlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorTychus)), 0.6, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorTychus)) - 15.0)), 0.65));
Wait(1.0, c_timeReal);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:28959
TransmissionWait(TransmissionLastSent(), 0.0);
CameraApplyInfo(1, CameraInfoFromId(1034), 0.0, -1, 10, true);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "SlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 0.4, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)) + 5.0)), 0.75));
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorRaynor), false, false, "Talk"), c_invalidPortraitId, SoundLink("TRaynor03BriefingRaynor00004", 0), 0.0, c_transmissionDurationAdd, false);
Wait(0.5, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:28968
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorTychus), false, false, "Talk"), c_invalidPortraitId, SoundLink("TRaynor03BriefingTychus00005", 0), 0.0, c_transmissionDurationAdd, false);
Wait(0.5, c_timeReal);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "InstantHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 0.4, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)) + 30.0)), 0.75));
CameraApplyInfo(1, CameraInfoFromId(802), 0.0, -1, 10, true);
TransmissionWait(TransmissionLastSent(), 1.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:29829
Wait(0.5, c_timeReal);
CameraApplyInfo(1, CameraInfoFromId(942), 0.0, -1, 10, true);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "SlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 1.0, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)) + 60.0)), 0.7));
TransmissionWait(TransmissionLastSent(), 4.0);
Wait(4.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:30977
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorTosh), false, false, "Talk"), c_invalidPortraitId, SoundLink("TTosh02BriefingTosh00011", 0), 0.0, c_transmissionDurationAdd, false);
TransmissionWait(TransmissionLastSent(), 1.5);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorTosh), "SlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorTosh)), 1.0, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorTosh)) + -70.0)), 0.6));
Wait(1.5, c_timeReal);
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorRaynor), false, false, "Talk"), c_invalidPortraitId, SoundLink("TTosh02BriefingRaynor00004", 0), 0.0, c_transmissionDurationAdd, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:33622
gf_MakeUnitLookAtUnitAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorHanson), "InstantHeadOnly", gf_ActorUnit(ge_ActorID_ActorRaynor), "Ref_Head");
gf_ResetActorToLocation(ge_ActorID_ActorHanson, PointFromId(921));
UnitSetFacing(gf_ActorUnit(ge_ActorID_ActorHanson), (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorHanson)) + 30.0), 0.0);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gf_ActorUnit(ge_ActorID_ActorHanson)), c_animNameDefault, "Custom Walk End", c_animFlagNonLooping, 0.0);
Wait(1.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:33827
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorRaynor), false, false, "Talk"), c_invalidPortraitId, SoundLink("ScriptedScenesBridgeRaynor00053", 0), 0.0, c_transmissionDurationAdd, false);
Wait(1.0, c_timeGame);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorHanson), "VerySlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorHanson)), 1.0, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorHanson)) + 15.0)), 0.4));
TransmissionWait(TransmissionLastSent(), 0.0);
CameraApplyInfo(1, CameraInfoFromId(296), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:36007
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "MedHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 1.0, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)) + 60.0)), 0.4));
Wait(0.4, c_timeReal);
CameraApplyInfo(1, CameraInfoFromId(58), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4336
TriggerExecute(gt_DetermineRemainingProtoss, true, false);
lv_location = UnitGetPosition(EventUnit());
lv_facing = UnitGetFacing(EventUnit());
UnitRemove(EventUnit());
UnitCreate(1, "XelNagaTemple", 0, gv_p8_ANCIENT_TEMPLE, lv_location, lv_facing);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4347
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_temple), c_animNameDefault, "Stand D End", c_animFlagPlayForever, c_animTimeDefault);
lv_location = UnitGetPosition(gv_tHEONEDRILL);
lv_facing = UnitGetFacing(gv_tHEONEDRILL);
lv_player = UnitGetOwner(gv_tHEONEDRILL);
UnitRemove(gv_tHEONEDRILL);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4431
libNtve_gf_ChangeUnitDamage(gv_tHEONEDOOR, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
lv_location = UnitGetPosition(gv_tHEONEDRILL);
lv_facing = UnitGetFacing(gv_tHEONEDRILL);
lv_player = UnitGetOwner(gv_tHEONEDRILL);
UnitRemove(gv_tHEONEDRILL);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:1526
autoCA9643E6_var = UnitGroupUnitFromEnd(autoCA9643E6_g, autoCA9643E6_u);
if (autoCA9643E6_var == null) { break; }
UnitIssueOrder(autoCA9643E6_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(autoCA9643E6_var), 2.0, UnitGetFacing(autoCA9643E6_var))), c_orderQueueReplace);
}
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/1E504DFF"), null, PointFromId(17));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:3667
UnitBehaviorRemove(auto47B466D3_var, "IncapStandUp", 1);
UnitSetFacing(auto47B466D3_var, 315.0, 0.0);
UnitIssueOrder(auto47B466D3_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(auto47B466D3_var), 2.0, UnitGetFacing(auto47B466D3_var))), c_orderQueueReplace);
UnitSetPropertyFixed(auto47B466D3_var, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(auto47B466D3_var, c_unitPropEnergyPercent, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:5599
UnitBehaviorRemove(autoB9055DE1_var, "IncapStandUp", 1);
UnitSetFacing(autoB9055DE1_var, 135.0, 0.0);
UnitIssueOrder(autoB9055DE1_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(autoB9055DE1_var), 2.0, UnitGetFacing(autoB9055DE1_var))), c_orderQueueReplace);
UnitSetPropertyFixed(autoB9055DE1_var, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(autoB9055DE1_var, c_unitPropEnergyPercent, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:7535
UnitBehaviorRemove(autoA454EC07_var, "IncapStandUp", 1);
UnitSetFacing(autoA454EC07_var, 45.0, 0.0);
UnitIssueOrder(autoA454EC07_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(autoA454EC07_var), 2.0, UnitGetFacing(autoA454EC07_var))), c_orderQueueReplace);
UnitSetPropertyFixed(autoA454EC07_var, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(autoA454EC07_var, c_unitPropEnergyPercent, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:784
gv_unitsArea01[gv_numberOfUnitsArea01].lv_player = UnitGetOwner(auto1E1E1136_var);
gv_unitsArea01[gv_numberOfUnitsArea01].lv_position = UnitGetPosition(auto1E1E1136_var);
gv_unitsArea01[gv_numberOfUnitsArea01].lv_facing = UnitGetFacing(auto1E1E1136_var);
UnitRemove(auto1E1E1136_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:796
gv_unitsArea02[gv_numberOfUnitsArea02].lv_player = UnitGetOwner(auto88A19CEF_var);
gv_unitsArea02[gv_numberOfUnitsArea02].lv_position = UnitGetPosition(auto88A19CEF_var);
gv_unitsArea02[gv_numberOfUnitsArea02].lv_facing = UnitGetFacing(auto88A19CEF_var);
UnitRemove(auto88A19CEF_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:808
gv_unitsArea03[gv_numberOfUnitsArea03].lv_player = UnitGetOwner(auto460A7C27_var);
gv_unitsArea03[gv_numberOfUnitsArea03].lv_position = UnitGetPosition(auto460A7C27_var);
gv_unitsArea03[gv_numberOfUnitsArea03].lv_facing = UnitGetFacing(auto460A7C27_var);
UnitRemove(auto460A7C27_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:820
gv_unitsArea04[gv_numberOfUnitsArea04].lv_player = UnitGetOwner(auto10416F19_var);
gv_unitsArea04[gv_numberOfUnitsArea04].lv_position = UnitGetPosition(auto10416F19_var);
gv_unitsArea04[gv_numberOfUnitsArea04].lv_facing = UnitGetFacing(auto10416F19_var);
UnitRemove(auto10416F19_var);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:1407
auto2382E995_var = UnitGroupUnitFromEnd(auto2382E995_g, auto2382E995_u);
if (auto2382E995_var == null) { break; }
libNtve_gf_AICast(auto2382E995_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(RegionRandomPoint(RegionCircle(UnitGetPosition(gv_leviathan), 8.0)), 8.0, UnitGetFacing(gv_leviathan))));
}
if ((UnitIsAlive(gv_leviathan) == false)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:5379
libNtve_gf_CreateModelAtPoint("HybridProtossFinalDeath", UnitGetPosition(gv_hybridPhysical));
gv_actorHybridDeathEffect = libNtve_gf_ActorLastCreated();
libNtve_gf_MakeModelFaceAngle(gv_actorHybridDeathEffect, UnitGetFacing(gv_hybridPhysical));
UnitRemove(gv_hybridPhysical);
libNtve_gf_KillModel(gv_actorHybridDeathEffect);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:260
gv_challengeUnits[lv_i].lv_player = UnitGetOwner(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_position = UnitGetPosition(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_facing = UnitGetFacing(UnitGroupLoopCurrent());
}
UnitGroupLoopEnd();
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:245
gv_challengeUnits[lv_i].lv_player = UnitGetOwner(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_position = UnitGetPosition(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_facing = UnitGetFacing(UnitGroupLoopCurrent());
}
UnitGroupLoopEnd();
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:265
gv_challengeUnits[lv_i].lv_player = UnitGetOwner(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_position = UnitGetPosition(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_facing = UnitGetFacing(UnitGroupLoopCurrent());
}
UnitGroupLoopEnd();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:6325
}
if ((lv_facingViking == true) && (UnitIsAlive(gv_viking) == true)) {
libNtve_gf_MakeUnitFacePoint(lv_plane, UnitGetPosition(gv_viking), (AbsF((UnitGetFacing(lv_plane) - AngleBetweenPoints(lv_posCurrent, UnitGetPosition(gv_viking)))) / 30.0));
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:6916
UnitSetPropertyFixed(lv_plane, c_unitPropMovementSpeed, lv_speed);
lv_outerBounds = gf_GetOuterBoundary();
UnitIssueOrder(lv_plane, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_plane), 30.0, UnitGetFacing(lv_plane))), c_orderQueueReplace);
while (true) {
if ((UnitIsAlive(lv_plane) == false)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:306
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));
lv_msg = (lv_msg + StringExternal("Param/Value/6AAB8E2E"));
if ((libNtve_gf_UnitIsPaused(lp_u) == true)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:2312
lv_trainMidPoint = (gv_trainList[lv_trainIndex].lv_lastCar / 2);
lv_trainMidPoint += 1;
UnitCreate(1, "AdjutantCapsule", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]), 2.0)), (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]) - 90.0));
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Birth");
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Morph");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:2518
UnitGroupAdd(lv_escortGroup, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort);
if ((ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) >= 20.0) && (ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) <= 160.0)) {
UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 90.0))), c_orderQueueReplace);
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:2522
else {
if ((ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) >= 200.0) && (ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) <= 340.0)) {
UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 270.0))), c_orderQueueReplace);
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:2525
}
else {
UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 180.0))), c_orderQueueReplace);
}
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:5919
UnitGroupAdd(lv_crateUnits, UnitLastCreated());
}
libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) + 90.0)), UnitGetPosition(lv_crate));
libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) - 90.0)), UnitGetPosition(lv_crate));
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(59), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:5920
}
libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) + 90.0)), UnitGetPosition(lv_crate));
libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) - 90.0)), UnitGetPosition(lv_crate));
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(59), 0.0, -1, 10, true);
CameraPan(1, UnitGetPosition(lv_crate), 0.0, -1, 10, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:2891
}
UnitCreate(1, "TychusEjectMissile", 0, gv_p07_HORNERBASE, UnitGetPosition(gv_odin), UnitGetFacing(gv_odin));
lv_tychusMissile = UnitLastCreated();
UnitSetHeight(lv_tychusMissile, 16.0, 2.5);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19728
if ((StringWord(EventChatMessage(false), 2) == "")) {
UIDisplayMessage(PlayerGroupAll(), c_messageAreaSubtitle, FixedToText(UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynorMarine)), c_fixedPrecisionAny));
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:26409
gf_ResetActorToLocation(ge_ActorID_ActorRaynor, PointFromId(897));
gf_MakeUnitLookAtPointWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "InstantStanding", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 0.5, UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor))), 0.5));
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_bridgeCommunicator), c_animNameDefault, "Birth", c_animFlagPlayForever | c_animFlagNonLooping, 0.0);
libNtve_gf_SetAnimationCompletion(libNtve_gf_MainActorofUnit(gv_bridgeCommunicator), c_animNameDefault, 100.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:26677
SoundLengthQueryWait();
CameraApplyInfo(1, CameraInfoFromId(394), (SoundLengthSync(SoundLink("CantinaTychusTychus00083", 0)) + 1.0), -1, 20, true);
gf_MakeUnitLookAtPointWithDebugControl(gf_ActorUnit(ge_ActorID_ActorTychus), "VerySlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorTychus)), 0.6, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorTychus)) - 15.0)), 0.65));
Wait(1.0, c_timeReal);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:28959
TransmissionWait(TransmissionLastSent(), 0.0);
CameraApplyInfo(1, CameraInfoFromId(1034), 0.0, -1, 10, true);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "SlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 0.4, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)) + 5.0)), 0.75));
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorRaynor), false, false, "Talk"), c_invalidPortraitId, SoundLink("TRaynor03BriefingRaynor00004", 0), 0.0, c_transmissionDurationAdd, false);
Wait(0.5, c_timeReal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:28968
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorTychus), false, false, "Talk"), c_invalidPortraitId, SoundLink("TRaynor03BriefingTychus00005", 0), 0.0, c_transmissionDurationAdd, false);
Wait(0.5, c_timeReal);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "InstantHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 0.4, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)) + 30.0)), 0.75));
CameraApplyInfo(1, CameraInfoFromId(802), 0.0, -1, 10, true);
TransmissionWait(TransmissionLastSent(), 1.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:29829
Wait(0.5, c_timeReal);
CameraApplyInfo(1, CameraInfoFromId(942), 0.0, -1, 10, true);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "SlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 1.0, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)) + 60.0)), 0.7));
TransmissionWait(TransmissionLastSent(), 4.0);
Wait(4.0, c_timeReal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:30977
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorTosh), false, false, "Talk"), c_invalidPortraitId, SoundLink("TTosh02BriefingTosh00011", 0), 0.0, c_transmissionDurationAdd, false);
TransmissionWait(TransmissionLastSent(), 1.5);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorTosh), "SlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorTosh)), 1.0, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorTosh)) + -70.0)), 0.6));
Wait(1.5, c_timeReal);
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorRaynor), false, false, "Talk"), c_invalidPortraitId, SoundLink("TTosh02BriefingRaynor00004", 0), 0.0, c_transmissionDurationAdd, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:33622
gf_MakeUnitLookAtUnitAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorHanson), "InstantHeadOnly", gf_ActorUnit(ge_ActorID_ActorRaynor), "Ref_Head");
gf_ResetActorToLocation(ge_ActorID_ActorHanson, PointFromId(921));
UnitSetFacing(gf_ActorUnit(ge_ActorID_ActorHanson), (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorHanson)) + 30.0), 0.0);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gf_ActorUnit(ge_ActorID_ActorHanson)), c_animNameDefault, "Custom Walk End", c_animFlagNonLooping, 0.0);
Wait(1.0, c_timeReal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:33827
libNtve_gf_SendTransmissionSimple(TransmissionSourceFromUnit(gf_ActorUnit(ge_ActorID_ActorRaynor), false, false, "Talk"), c_invalidPortraitId, SoundLink("ScriptedScenesBridgeRaynor00053", 0), 0.0, c_transmissionDurationAdd, false);
Wait(1.0, c_timeGame);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorHanson), "VerySlowHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorHanson)), 1.0, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorHanson)) + 15.0)), 0.4));
TransmissionWait(TransmissionLastSent(), 0.0);
CameraApplyInfo(1, CameraInfoFromId(296), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:36007
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
gf_MakeUnitLookAtPointAndBlinkWithDebugControl(gf_ActorUnit(ge_ActorID_ActorRaynor), "MedHeadOnly", libNtve_gf_PointWithZOffset(PointWithOffsetPolar(UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), 1.0, (UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)) + 60.0)), 0.4));
Wait(0.4, c_timeReal);
CameraApplyInfo(1, CameraInfoFromId(58), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:4336
TriggerExecute(gt_DetermineRemainingProtoss, true, false);
lv_location = UnitGetPosition(EventUnit());
lv_facing = UnitGetFacing(EventUnit());
UnitRemove(EventUnit());
UnitCreate(1, "XelNagaTemple", 0, gv_p8_ANCIENT_TEMPLE, lv_location, lv_facing);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:4347
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_temple), c_animNameDefault, "Stand D End", c_animFlagPlayForever, c_animTimeDefault);
lv_location = UnitGetPosition(gv_tHEONEDRILL);
lv_facing = UnitGetFacing(gv_tHEONEDRILL);
lv_player = UnitGetOwner(gv_tHEONEDRILL);
UnitRemove(gv_tHEONEDRILL);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:4431
libNtve_gf_ChangeUnitDamage(gv_tHEONEDOOR, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
lv_location = UnitGetPosition(gv_tHEONEDRILL);
lv_facing = UnitGetFacing(gv_tHEONEDRILL);
lv_player = UnitGetOwner(gv_tHEONEDRILL);
UnitRemove(gv_tHEONEDRILL);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:1526
autoCA9643E6_var = UnitGroupUnitFromEnd(autoCA9643E6_g, autoCA9643E6_u);
if (autoCA9643E6_var == null) { break; }
UnitIssueOrder(autoCA9643E6_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(autoCA9643E6_var), 2.0, UnitGetFacing(autoCA9643E6_var))), c_orderQueueReplace);
}
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/1E504DFF"), null, PointFromId(17));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:3667
UnitBehaviorRemove(auto47B466D3_var, "IncapStandUp", 1);
UnitSetFacing(auto47B466D3_var, 315.0, 0.0);
UnitIssueOrder(auto47B466D3_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(auto47B466D3_var), 2.0, UnitGetFacing(auto47B466D3_var))), c_orderQueueReplace);
UnitSetPropertyFixed(auto47B466D3_var, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(auto47B466D3_var, c_unitPropEnergyPercent, 100.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:5599
UnitBehaviorRemove(autoB9055DE1_var, "IncapStandUp", 1);
UnitSetFacing(autoB9055DE1_var, 135.0, 0.0);
UnitIssueOrder(autoB9055DE1_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(autoB9055DE1_var), 2.0, UnitGetFacing(autoB9055DE1_var))), c_orderQueueReplace);
UnitSetPropertyFixed(autoB9055DE1_var, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(autoB9055DE1_var, c_unitPropEnergyPercent, 100.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:7535
UnitBehaviorRemove(autoA454EC07_var, "IncapStandUp", 1);
UnitSetFacing(autoA454EC07_var, 45.0, 0.0);
UnitIssueOrder(autoA454EC07_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(autoA454EC07_var), 2.0, UnitGetFacing(autoA454EC07_var))), c_orderQueueReplace);
UnitSetPropertyFixed(autoA454EC07_var, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(autoA454EC07_var, c_unitPropEnergyPercent, 100.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:784
gv_unitsArea01[gv_numberOfUnitsArea01].lv_player = UnitGetOwner(auto1E1E1136_var);
gv_unitsArea01[gv_numberOfUnitsArea01].lv_position = UnitGetPosition(auto1E1E1136_var);
gv_unitsArea01[gv_numberOfUnitsArea01].lv_facing = UnitGetFacing(auto1E1E1136_var);
UnitRemove(auto1E1E1136_var);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:796
gv_unitsArea02[gv_numberOfUnitsArea02].lv_player = UnitGetOwner(auto88A19CEF_var);
gv_unitsArea02[gv_numberOfUnitsArea02].lv_position = UnitGetPosition(auto88A19CEF_var);
gv_unitsArea02[gv_numberOfUnitsArea02].lv_facing = UnitGetFacing(auto88A19CEF_var);
UnitRemove(auto88A19CEF_var);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:808
gv_unitsArea03[gv_numberOfUnitsArea03].lv_player = UnitGetOwner(auto460A7C27_var);
gv_unitsArea03[gv_numberOfUnitsArea03].lv_position = UnitGetPosition(auto460A7C27_var);
gv_unitsArea03[gv_numberOfUnitsArea03].lv_facing = UnitGetFacing(auto460A7C27_var);
UnitRemove(auto460A7C27_var);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:820
gv_unitsArea04[gv_numberOfUnitsArea04].lv_player = UnitGetOwner(auto10416F19_var);
gv_unitsArea04[gv_numberOfUnitsArea04].lv_position = UnitGetPosition(auto10416F19_var);
gv_unitsArea04[gv_numberOfUnitsArea04].lv_facing = UnitGetFacing(auto10416F19_var);
UnitRemove(auto10416F19_var);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:1407
auto2382E995_var = UnitGroupUnitFromEnd(auto2382E995_g, auto2382E995_u);
if (auto2382E995_var == null) { break; }
libNtve_gf_AICast(auto2382E995_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(RegionRandomPoint(RegionCircle(UnitGetPosition(gv_leviathan), 8.0)), 8.0, UnitGetFacing(gv_leviathan))));
}
if ((UnitIsAlive(gv_leviathan) == false)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:5379
libNtve_gf_CreateModelAtPoint("HybridProtossFinalDeath", UnitGetPosition(gv_hybridPhysical));
gv_actorHybridDeathEffect = libNtve_gf_ActorLastCreated();
libNtve_gf_MakeModelFaceAngle(gv_actorHybridDeathEffect, UnitGetFacing(gv_hybridPhysical));
UnitRemove(gv_hybridPhysical);
libNtve_gf_KillModel(gv_actorHybridDeathEffect);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:260
gv_challengeUnits[lv_i].lv_player = UnitGetOwner(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_position = UnitGetPosition(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_facing = UnitGetFacing(UnitGroupLoopCurrent());
}
UnitGroupLoopEnd();
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:245
gv_challengeUnits[lv_i].lv_player = UnitGetOwner(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_position = UnitGetPosition(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_facing = UnitGetFacing(UnitGroupLoopCurrent());
}
UnitGroupLoopEnd();
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:265
gv_challengeUnits[lv_i].lv_player = UnitGetOwner(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_position = UnitGetPosition(UnitGroupLoopCurrent());
gv_challengeUnits[lv_i].lv_facing = UnitGetFacing(UnitGroupLoopCurrent());
}
UnitGroupLoopEnd();
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:1367
if ((libCamp_gv__CB_Unit[lv_unitIndex] == null)) {
libCamp_gv__CB_Unit[lv_unitIndex] = lp_unit;
libCamp_gv__CB_Unit_OriginalFacing[lv_unitIndex] = UnitGetFacing(lp_unit);
libCamp_gv__CB_Unit_ActivationPlayerGroup[lv_unitIndex] = PlayerGroupSingle(1);
lv_playerIndex = 1;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2map/MapScript.galaxy:1272
libNtve_gf_RescueUnit(UnitGroupLoopCurrent(), gv_pLAYER_01_USER, true);
UnitGroupAdd(gv_noxious, UnitGroupLoopCurrent());
UnitIssueOrder(UnitGroupLoopCurrent(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitGroupLoopCurrent()), 3.0, UnitGetFacing(UnitGroupLoopCurrent()))), c_orderQueueReplace);
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:1083
}
UnitCreate(1, lv_dNA, 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(EventUnit()), 1.0, (UnitGetFacing(EventUnit()) + 180.0)), libNtve_gf_RandomAngle());
gv_raptorEssenceSpawnedAmount += 1;
libSwaC_gf_SetUnitInfoTextCampaign(UnitLastCreated(), StringExternal("Param/Value/DFEA151A"), StringExternal("Param/Value/AC8B979A"), null);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:3090
while (!UnitGroupLoopDone()) {
lv_tempLoc = UnitGetPosition(UnitGroupLoopCurrent());
PointSetFacing(lv_tempLoc, UnitGetFacing(UnitGroupLoopCurrent()));
libNtve_gf_ShowHideUnit(UnitGroupLoopCurrent(), false);
UnitGroupAdd(gv_cinematicHiddenUnits, UnitGroupLoopCurrent());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:5166
CameraPan(gv_pLAYER_01_USER, UnitGetPosition(gv_midCinematicScourgeNest), 0.0, -1, 10.0, false);
libNtve_gf_PauseUnit(gv_midCinematicScourgeNest, false);
lv_spawnAngle = UnitGetFacing(gv_tHE_ONE_GORGON);
UnitCreate(1, "GehennaCruiser", 0, gv_pLAYER_04_GORGON, UnitGetPosition(gv_tHE_ONE_GORGON), lv_spawnAngle);
gv_midSpawnedCruiser = UnitLastCreated();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:570
lv_type = UnitGetType(lp_unit);
lv_position = UnitGetPosition(lp_unit);
lv_facing = UnitGetFacing(lp_unit);
lv_life = UnitGetPropertyFixed(lp_unit, c_unitPropLife, c_unitPropCurrent);
lv_shield = UnitGetPropertyFixed(lp_unit, c_unitPropShields, c_unitPropCurrent);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:1969
auto9A1428F5_val = UnitGetType(EventUnit());
if (auto9A1428F5_val == "YetiMomma") {
UnitCreate(1, lv_eSSENCE_Matriarch, 0, gv_pLAYER_09_ESSENCE, PointWithOffsetPolar(UnitGetPosition(EventUnit()), 1.0, (UnitGetFacing(EventUnit()) + 220.0)), libNtve_gf_RandomAngle());
libSwaC_gf_SetUnitInfoTextCampaign(UnitLastCreated(), null, StringExternal("Param/Value/C180FC79"), null);
gf_PickupEssence(UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:845
auto63A87EC9_val = gv_escortIncrement;
if (auto63A87EC9_val == 1) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 8.0, (UnitGetFacing(UnitLastCreated()) + 90.0))), c_orderQueueReplace);
}
else if (auto63A87EC9_val == 2) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:848
}
else if (auto63A87EC9_val == 2) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 8.0, (UnitGetFacing(UnitLastCreated()) - 90.0))), c_orderQueueReplace);
}
else if (auto63A87EC9_val == 3) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:851
}
else if (auto63A87EC9_val == 3) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 8.0, (UnitGetFacing(UnitLastCreated()) + 135.0))), c_orderQueueReplace);
}
else if (auto63A87EC9_val == 4) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:854
}
else if (auto63A87EC9_val == 4) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 8.0, (UnitGetFacing(UnitLastCreated()) - 135.0))), c_orderQueueReplace);
}
else if (auto63A87EC9_val == 5) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:857
}
else if (auto63A87EC9_val == 5) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 8.0, (UnitGetFacing(UnitLastCreated()) + 45.0))), c_orderQueueReplace);
}
else if (auto63A87EC9_val == 6) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:860
}
else if (auto63A87EC9_val == 6) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 8.0, (UnitGetFacing(UnitLastCreated()) - 45.0))), c_orderQueueReplace);
}
else if (auto63A87EC9_val == 7) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:863
}
else if (auto63A87EC9_val == 7) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 8.0, (UnitGetFacing(UnitLastCreated()) - 180.0))), c_orderQueueReplace);
}
else if (auto63A87EC9_val == 8) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:866
}
else if (auto63A87EC9_val == 8) {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 8.0, (UnitGetFacing(UnitLastCreated()) - 0.0))), c_orderQueueReplace);
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:869
}
else {
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 11.0, (UnitGetFacing(UnitLastCreated()) + (90.0 + ((IntToFixed(gv_escortIncrement) - 8.0) * 30.0))))), c_orderQueueReplace);
}
if ((lp_escortType == "Mothership")) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:6977
TriggerExecute(gt_DefeatEscapePodLaunches, true, false);
VisRevealerCreate(gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(gv_escapePodUnit[auto4B9ACA41_var]), 10.0));
CameraPan(gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(gv_escapePodUnit[auto4B9ACA41_var]), -5.0, UnitGetFacing(gv_escapePodUnit[auto4B9ACA41_var])), 2.0, -1, 10.0, false);
Wait(2.5, c_timeGame);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_escapePodUnit[auto4B9ACA41_var]), c_animNameDefault, "Stand Work Start", 0, c_animTimeDefault);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:470
while (true) {
libNtve_gf_ShowHideUnit(lp_beacon, true);
UnitCreate(1, "Beacon_Zerg", c_unitCreateIgnorePlacement, 0, UnitGetPosition(lp_beacon), UnitGetFacing(lp_beacon));
UnitKill(UnitLastCreated());
while (!((UnitIsAlive(gv_virophageRecord[lv_recordIndex].lv_virophage) == true))) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:6472
auto43E34B7B_var = UnitGroupUnitFromEnd(auto43E34B7B_g, auto43E34B7B_u);
if (auto43E34B7B_var == null) { break; }
UnitCreate(1, UnitGetType(auto43E34B7B_var), 0, gv_pLAYER_02_DOMINION_BULLIES, UnitGetPosition(auto43E34B7B_var), UnitGetFacing(auto43E34B7B_var));
UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
UnitGroupAdd(gv_introFungalGroup, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:6520
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(708), (SoundLengthSync(SoundLink(ConversationDataGetSound("zBriefing_Hybrid01|Line00014", true), c_soundIndexAny)) + SoundLengthSync(SoundLink(ConversationDataGetSound("zBriefing_Hybrid01|Line00015", true), c_soundIndexAny)) - 1), -1, 10.0, true);
libSwaC_gf_SendTransmissionCampaign(null, "zBriefing_Hybrid01|Line00014", c_transmissionDurationAdd, 0.0, true, libSwaC_ge_CampaignTransmissionPortraitOptioins_LeavePortraitVisibleAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
UnitCreate(1, UnitGetType(UnitFromId(54)), c_unitCreateIgnorePlacement, 0, UnitGetPosition(UnitFromId(54)), UnitGetFacing(UnitFromId(54)));
UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
UnitCreate(1, UnitGetType(UnitFromId(54)), c_unitCreateIgnorePlacement, 0, UnitGetPosition(UnitFromId(54)), UnitGetFacing(UnitFromId(54)));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:6522
UnitCreate(1, UnitGetType(UnitFromId(54)), c_unitCreateIgnorePlacement, 0, UnitGetPosition(UnitFromId(54)), UnitGetFacing(UnitFromId(54)));
UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
UnitCreate(1, UnitGetType(UnitFromId(54)), c_unitCreateIgnorePlacement, 0, UnitGetPosition(UnitFromId(54)), UnitGetFacing(UnitFromId(54)));
UnitKill(UnitLastCreated());
SoundPlay(SoundLink("UI_ZergWarning", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:7314
libNtve_gf_ShowHideUnit(UnitFromId(270), true);
UnitPauseAll(false);
libSwaC_gf_CreateHero2(PointFromId(3), gv_pLAYER_01_USER, libSwaC_ge_HeroUnit_Kerrigan, UnitGetFacing(gv_kerrigan), c_unitCreateIgnorePlacement, libSwaC_ge_KerriganCreatePurpose_GamePlay);
gv_kerrigan = UnitLastCreated();
libSwaC_gf_SetHeroPanelUnit(1, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:679
}
else {
libNtve_gf_UnitCreateFacingPoint(1, UnitGetType(lp_cHOSEN_HYBRID), c_unitCreateIgnorePlacement, gv_pLAYER_02_DOMINION2, PointWithOffsetPolar(UnitGetPosition(lp_cHOSEN_HYBRID), 1.0, (UnitGetFacing(lp_cHOSEN_HYBRID) + 67.5)), UnitGetPosition(gv_kerrigan));
}
UnitGroupAdd(lv_images, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:694
AISetUnitScriptControlled(UnitLastCreated(), false);
}
UnitSetPosition(lp_cHOSEN_HYBRID, PointWithOffsetPolar(UnitGetPosition(lp_cHOSEN_HYBRID), 1.0, (UnitGetFacing(lp_cHOSEN_HYBRID) - 67.5)), false);
libNtve_gf_CreateActorAtPoint("HybridWarpInEffect", UnitGetPosition(lp_cHOSEN_HYBRID));
libNtve_gf_PauseUnit(lp_cHOSEN_HYBRID, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:765
Wait(0.5, c_timeAI);
}
UnitIssueOrder(lv_hybrid, OrderTargetingPoint(AbilityCommand("ZHybridPsiStorm", 0), PointWithOffsetPolar(UnitGetPosition(lv_hybrid), 3.0, UnitGetFacing(lv_hybrid))), c_orderQueueReplace);
AISetUnitScriptControlled(lv_hybrid, false);
while (!((UnitGetPropertyFixed(lv_hybrid, c_unitPropShieldsPercent, c_unitPropCurrent) <= 0.0))) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:770
Wait(0.5, c_timeAI);
}
UnitIssueOrder(lv_hybrid, OrderTargetingPoint(AbilityCommand("ZHybridPsiStorm", 0), PointWithOffsetPolar(UnitGetPosition(lv_hybrid), 3.0, UnitGetFacing(lv_hybrid))), c_orderQueueReplace);
UnitIssueOrder(lv_hybrid, OrderTargetingPoint(AbilityCommand("ZHybridPsiStorm", 0), PointWithOffsetPolar(UnitGetPosition(lv_hybrid), 5.0, UnitGetFacing(lv_hybrid))), c_orderQueueAddToEnd);
AISetUnitScriptControlled(lv_hybrid, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:771
}
UnitIssueOrder(lv_hybrid, OrderTargetingPoint(AbilityCommand("ZHybridPsiStorm", 0), PointWithOffsetPolar(UnitGetPosition(lv_hybrid), 3.0, UnitGetFacing(lv_hybrid))), c_orderQueueReplace);
UnitIssueOrder(lv_hybrid, OrderTargetingPoint(AbilityCommand("ZHybridPsiStorm", 0), PointWithOffsetPolar(UnitGetPosition(lv_hybrid), 5.0, UnitGetFacing(lv_hybrid))), c_orderQueueAddToEnd);
AISetUnitScriptControlled(lv_hybrid, false);
while (!((UnitGetPropertyFixed(lv_hybrid, c_unitPropLifePercent, c_unitPropCurrent) <= 50.0))) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:776
Wait(0.5, c_timeAI);
}
UnitIssueOrder(lv_hybrid, OrderTargetingPoint(AbilityCommand("ZHybridPsiStorm", 0), PointWithOffsetPolar(UnitGetPosition(lv_hybrid), 4.0, (UnitGetFacing(lv_hybrid) + 15.0))), c_orderQueueReplace);
UnitIssueOrder(lv_hybrid, OrderTargetingPoint(AbilityCommand("ZHybridPsiStorm", 0), PointWithOffsetPolar(UnitGetPosition(lv_hybrid), 4.0, (UnitGetFacing(lv_hybrid) - 15.0))), c_orderQueueAddToEnd);
AISetUnitScriptControlled(lv_hybrid, false);