# Change Owner
Grammar — Change ownership of u to player p and cc|Change/Retain Color
Flags —Native
|Action
Changes the ownership of a unit to another player.
# Arguments
unit
— Unitint
— Playerbool
<preset::Unit_Color_Change_Option> — Color Change
Returns — void
native void UnitSetOwner(
unit inUnit,
int inPlayer,
bool inChangeColor,
);
# 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:5230
gf_DisplayBossHPBar(StringExternal("Param/Value/EFB6AA84"));
libNtve_gf_MakeUnitInvulnerable(gv_boss, false);
UnitSetOwner(gv_boss, gv_p2_ENEMY, true);
TriggerExecute(gt_Level2BossLeviathanBehavior, true, false);
while (!((UnitIsAlive(gv_boss) == false))) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5681
gf_DisplayBossHPBar(StringExternal("Param/Value/C742B90D"));
libNtve_gf_MakeUnitInvulnerable(gv_boss, false);
UnitSetOwner(gv_boss, gv_p2_ENEMY, true);
TriggerExecute(gt_Level3BossTerraTronBehavior, true, false);
while (!((UnitIsAlive(gv_boss) == false))) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:407
lv_u = UnitGroupUnitFromEnd(autoC43E849B_g, autoC43E849B_u);
if (lv_u == null) { break; }
UnitSetOwner(lv_u, lp_player, true);
libNtve_gf_PauseUnit(lv_u, false);
UnitIssueOrder(lv_u, Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1711
if (auto2D5D7001_var == null) { break; }
if (((UnitGetType(auto2D5D7001_var) == "AutoTurret") || (UnitGetType(auto2D5D7001_var) == "ColonistShip"))) {
UnitSetOwner(auto2D5D7001_var, gv_p4_COLONISTS, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5774
libNtve_gf_CreateUnitsAtPoint2(2, "Civilian", 0, 1, PointFromId(2654));
libNtve_gf_CreateUnitsAtPoint2(2, "CivilianFemale", 0, 1, PointFromId(2656));
UnitSetOwner(UnitFromId(698), gv_p4_COLONISTS, true);
auto0F0F1029_g = UnitGroup("AutoTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto0F0F1029_u = UnitGroupCount(auto0F0F1029_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5780
auto0F0F1029_var = UnitGroupUnitFromEnd(auto0F0F1029_g, auto0F0F1029_u);
if (auto0F0F1029_var == null) { break; }
UnitSetOwner(auto0F0F1029_var, gv_p4_COLONISTS, true);
libNtve_gf_ChangeUnitDamage(auto0F0F1029_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5788
auto819CA525_var = UnitGroupUnitFromEnd(auto819CA525_g, auto819CA525_u);
if (auto819CA525_var == null) { break; }
UnitSetOwner(auto819CA525_var, gv_p4_COLONISTS, true);
}
auto2D98D8C8_g = UnitGroup("Civilian", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5795
auto2D98D8C8_var = UnitGroupUnitFromEnd(auto2D98D8C8_g, auto2D98D8C8_u);
if (auto2D98D8C8_var == null) { break; }
UnitSetOwner(auto2D98D8C8_var, gv_p4_COLONISTS, true);
UnitSetPropertyFixed(auto2D98D8C8_var, c_unitPropLife, 1.0);
UnitBehaviorAdd(auto2D98D8C8_var, "Hustle", auto2D98D8C8_var, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5804
auto85C6499E_var = UnitGroupUnitFromEnd(auto85C6499E_g, auto85C6499E_u);
if (auto85C6499E_var == null) { break; }
UnitSetOwner(auto85C6499E_var, gv_p4_COLONISTS, true);
UnitSetPropertyFixed(auto85C6499E_var, c_unitPropLife, 1.0);
UnitBehaviorAdd(auto85C6499E_var, "Hustle", auto85C6499E_var, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5813
auto852CA24B_var = UnitGroupUnitFromEnd(auto852CA24B_g, auto852CA24B_u);
if (auto852CA24B_var == null) { break; }
UnitSetOwner(auto852CA24B_var, gv_p4_COLONISTS, true);
UnitSetPropertyFixed(auto852CA24B_var, c_unitPropLife, 10.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5821
auto9597CF2B_var = UnitGroupUnitFromEnd(auto9597CF2B_g, auto9597CF2B_u);
if (auto9597CF2B_var == null) { break; }
UnitSetOwner(auto9597CF2B_var, gv_p2_ZERG_ORANGE_NW, true);
UnitBehaviorAdd(auto9597CF2B_var, "ScanRangeBonus", auto9597CF2B_var, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5829
autoA279A10E_var = UnitGroupUnitFromEnd(autoA279A10E_g, autoA279A10E_u);
if (autoA279A10E_var == null) { break; }
UnitSetOwner(autoA279A10E_var, gv_p2_ZERG_ORANGE_NW, true);
UnitBehaviorAdd(autoA279A10E_var, "ScanRangeBonus", autoA279A10E_var, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4988
GameSetLighting("MeinhoffCampaignNight", 0.0);
UnitSetOwner(UnitFromId(7), gv_pLAYER_02_REFUGEES, true);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(653));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2844
if (((UnitGetType(EventUnitProgressUnit()) == "Zealot") || (UnitGetType(EventUnitProgressUnit()) == "Stalker") || (UnitGetType(EventUnitProgressUnit()) == "Sentry") || (UnitGetType(EventUnitProgressUnit()) == "Immortal") || (UnitGetType(EventUnitProgressUnit()) == "HighTemplar") || (UnitGetType(EventUnitProgressUnit()) == "Archon") || (UnitGetType(EventUnitProgressUnit()) == "Scout") || (UnitGetType(EventUnitProgressUnit()) == "Phoenix") || (UnitGetType(EventUnitProgressUnit()) == "VoidRay"))) {
AISetUnitScriptControlled(EventUnitProgressUnit(), true);
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitSetCustomValue(EventUnitProgressUnit(), 1, 1.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2850
if ((UnitGetType(EventUnitProgressUnit()) == "Carrier")) {
AISetUnitScriptControlled(EventUnitProgressUnit(), true);
UnitSetOwner(EventUnitProgressUnit(), gv_pLAYER06_TERRORFLEET, true);
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
UnitIssueOrder(EventUnitProgressUnit(), OrderSetAutoCast(AbilityCommand("CarrierHangar", 0), true), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:500
UnitGroupRemove(lv_overlordPool, lv_overlord);
UnitGroupAdd(gv_infestationOverlords[lp_colonyIndex], lv_overlord);
UnitSetOwner(lv_overlord, gv_p07_ZERG_INFESTED, true);
UnitIssueOrder(lv_overlord, OrderTargetingPoint(AbilityCommand("move", 0), gv_infestationOverlordLocation[lp_colonyIndex][lv_overlordIndex]), c_orderQueueReplace);
UnitIssueOrder(lv_overlord, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:533
UnitGroupRemove(lv_overseerPool, lv_overseer);
UnitGroupAdd(gv_infestationOverseers[lp_colonyIndex], lv_overseer);
UnitSetOwner(lv_overseer, gv_p07_ZERG_INFESTED, true);
UnitIssueOrder(lv_overseer, OrderTargetingPoint(AbilityCommand("move", 0), gv_infestationOverseerLocation[lp_colonyIndex][lv_overseerIndex]), c_orderQueueReplace);
UnitIssueOrder(lv_overseer, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1587
UnitRemove(lv_colonist);
}
UnitSetOwner(lv_colonyStructure, gv_p03_VIROPHAGE, true);
UnitBehaviorAdd(lv_colonyStructure, "ColonyInfestation", gv_infestationVirophageUnit[lv_colonyIndex], 1);
UnitSetState(lv_colonyStructure, c_unitStateTargetable, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4151
UnitBehaviorRemove(autoC6F8DF42_var, "Run", 1);
UnitIssueOrder(autoC6F8DF42_var, Order(AbilityCommand("MorphToInfestedCivilian", 0)), c_orderQueueReplace);
UnitSetOwner(autoC6F8DF42_var, gv_p03_VIROPHAGE, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4163
UnitBehaviorRemove(autoE9C294DC_var, "Run", 1);
UnitIssueOrder(autoE9C294DC_var, Order(AbilityCommand("MorphToInfestedCivilian", 0)), c_orderQueueReplace);
UnitSetOwner(autoE9C294DC_var, gv_p03_VIROPHAGE, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5581
}
else {
UnitSetOwner(auto05A7AB37_var, gv_p01_USER, true);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:904
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(auto32B93861_var), c_animNameDefault, "Fidget Inferior", c_animFlagPlayForever, c_animTimeDefault);
}
UnitSetOwner(UnitFromId(1006), gv_p03_DOMINION_WAREHOUSE, true);
UnitSetOwner(UnitFromId(1014), gv_p03_DOMINION_WAREHOUSE, true);
TriggerExecute(gt_TransmissionWarehouseAutoTurretsQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:905
}
UnitSetOwner(UnitFromId(1006), gv_p03_DOMINION_WAREHOUSE, true);
UnitSetOwner(UnitFromId(1014), gv_p03_DOMINION_WAREHOUSE, true);
TriggerExecute(gt_TransmissionWarehouseAutoTurretsQ, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1548
libNtve_gf_ShowHideUnit(UnitFromId(8), true);
libNtve_gf_ShowHideUnit(UnitFromId(738), true);
UnitSetOwner(UnitFromId(739), gv_p01_USER, true);
UnitSetOwner(UnitFromId(738), gv_p01_USER, true);
UnitSetOwner(UnitFromId(8), gv_p01_USER, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1549
libNtve_gf_ShowHideUnit(UnitFromId(738), true);
UnitSetOwner(UnitFromId(739), gv_p01_USER, true);
UnitSetOwner(UnitFromId(738), gv_p01_USER, true);
UnitSetOwner(UnitFromId(8), gv_p01_USER, true);
UnitSetOwner(UnitFromId(292), gv_p01_USER, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1550
UnitSetOwner(UnitFromId(739), gv_p01_USER, true);
UnitSetOwner(UnitFromId(738), gv_p01_USER, true);
UnitSetOwner(UnitFromId(8), gv_p01_USER, true);
UnitSetOwner(UnitFromId(292), gv_p01_USER, true);
UnitIssueOrder(UnitFromId(739), OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(UnitFromId(739)), 30.0, 45.0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1551
UnitSetOwner(UnitFromId(738), gv_p01_USER, true);
UnitSetOwner(UnitFromId(8), gv_p01_USER, true);
UnitSetOwner(UnitFromId(292), gv_p01_USER, true);
UnitIssueOrder(UnitFromId(739), OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(UnitFromId(739)), 30.0, 45.0)), c_orderQueueReplace);
UnitIssueOrder(UnitFromId(292), OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(UnitFromId(292)), 30.0, 45.0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5280
UnitRemove(UnitFromId(1132));
UnitSetOwner(gv_odin, gv_p03_DOMINION_WAREHOUSE, true);
TriggerExecute(gt_BriefingScene03OdinBuild, true, false);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(659), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5539
SoundPlay(SoundLink("Medivac_Load", 0), PlayerGroupAll(), 100.0, 0.0);
UnitRemove(UnitFromId(4));
UnitSetOwner(gv_odin, gv_p02_TYCHUS, true);
Wait(2.0, c_timeGame);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(21), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2619
TimerStart(gv_distractionTimer, 3.0, false, c_timeGame);
libNtve_gf_ShareVisionofUnit(gv_odin, true, gv_p01_USER);
UnitSetOwner(gv_odin, gv_p07_HORNERBASE, true);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2759
SoundPlay(SoundLink("Thor_Build", 0), PlayerGroupAll(), 100.0, 0.0);
libNtve_gf_MakeUnitInvulnerable(gv_odin, true);
UnitSetOwner(gv_odin, gv_p07_HORNERBASE, true);
UnitFlashSelection(gv_odin, 6.0);
TriggerQueueEnter();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3485
VisRevealerDestroy(gv_sector1BeaconRevealer);
UnitRemove(UnitFromId(808));
UnitSetOwner(UnitFromId(5), 0, true);
TriggerQueueEnter();
TriggerExecute(gt_ObjectiveAccessBroadcastTower1Complete, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3545
VisRevealerDestroy(gv_sector2BeaconRevealer);
UnitRemove(UnitFromId(806));
UnitSetOwner(UnitFromId(358), 0, true);
TriggerQueueEnter();
TriggerExecute(gt_ObjectiveAccessBroadcastTower2Complete, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3605
VisRevealerDestroy(gv_sector3BeaconRevealer);
UnitRemove(UnitFromId(807));
UnitSetOwner(UnitFromId(4), 0, true);
TriggerQueueEnter();
TriggerExecute(gt_ObjectiveAccessBroadcastTower3Complete, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6669
auto36A127F5_var = UnitGroupUnitFromEnd(auto36A127F5_g, auto36A127F5_u);
if (auto36A127F5_var == null) { break; }
UnitSetOwner(auto36A127F5_var, gv_p01_USER, true);
}
libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionFromId(18), gv_p01_USER);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:969
}
UnitSetOwner(UnitFromId(459), gv_p13_DOMINION_LABS, true);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3216
UnitKill(UnitFromId(1038));
Wait(2.0, c_timeGame);
UnitSetOwner(gv_turret01, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret02, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret03, gv_p12_AUTOTURRET_ENEMY, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3217
Wait(2.0, c_timeGame);
UnitSetOwner(gv_turret01, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret02, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret03, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret04, gv_p08_AUTOTURRET_FRIENDLY, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3218
UnitSetOwner(gv_turret01, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret02, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret03, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret04, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret05, gv_p08_AUTOTURRET_FRIENDLY, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3219
UnitSetOwner(gv_turret02, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret03, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret04, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret05, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret06, gv_p08_AUTOTURRET_FRIENDLY, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3220
UnitSetOwner(gv_turret03, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret04, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret05, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret06, gv_p08_AUTOTURRET_FRIENDLY, true);
VisRevealerCreate(gv_p01_USER, RegionFromId(12));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3221
UnitSetOwner(gv_turret04, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret05, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret06, gv_p08_AUTOTURRET_FRIENDLY, true);
VisRevealerCreate(gv_p01_USER, RegionFromId(12));
gv_computer01Revealer02 = VisRevealerLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3281
UnitKill(UnitFromId(1038));
Wait(2.0, c_timeGame);
UnitSetOwner(gv_turret01, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret02, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret03, gv_p08_AUTOTURRET_FRIENDLY, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3282
Wait(2.0, c_timeGame);
UnitSetOwner(gv_turret01, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret02, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret03, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret04, gv_p12_AUTOTURRET_ENEMY, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3283
UnitSetOwner(gv_turret01, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret02, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret03, gv_p08_AUTOTURRET_FRIENDLY, true);
UnitSetOwner(gv_turret04, gv_p12_AUTOTURRET_ENEMY, false);
UnitSetOwner(gv_turret05, gv_p12_AUTOTURRET_ENEMY, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:5197
gv_introUnitCargoStartDrop += 1;
UnitSetOwner(EventUnitCargo(), gv_p1_USER, true);
UnitGroupAdd(gv_raynorsMarines, EventUnitCargo());
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2652
auto7E78CD21_var = UnitGroupUnitFromEnd(auto7E78CD21_g, auto7E78CD21_u);
if (auto7E78CD21_var == null) { break; }
UnitSetOwner(auto7E78CD21_var, gv_pLAYER_02_DOMINION, true);
AISetUnitScriptControlled(auto7E78CD21_var, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:352
if (lv_vehicle == null) { break; }
lv_prisoner = UnitGroupRandomUnit(lv_prisonerGroup, c_unitCountAlive);
UnitSetOwner(lv_prisoner, gv_p2_RAYNOR_LIGHTBLUE, false);
UnitIssueOrder(lv_prisoner, OrderTargetingPoint(AbilityCommand("move", 0), UnitGetPosition(lv_vehicle)), c_orderQueueReplace);
UnitGroupRemove(lv_prisonerGroup, lv_prisoner);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1530
}
else {
UnitSetOwner(lv_searcher, gv_p5_DOMINION_GREY, false);
lv_returnPoint = UnitGetPosition(lv_searcher);
UnitIssueOrder(lv_searcher, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1537
Wait(2.0, c_timeGame);
if ((UnitIsAlive(lv_searcher) == false)) {
UnitSetOwner(lv_searcher, gv_p6_DOMINION_ORANGE, false);
libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
UnitIssueOrder(lv_searcher, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(50))), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2748
}
UnitSetOwner(EventUnit(), gv_pLAYER01_USER, true);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3271
libNtve_gf_PauseUnit(gv_nova, false);
Wait(0.5, c_timeGame);
UnitSetOwner(lv_silo, gv_pLAYER01_USER, true);
gf_ArmSilo(lv_silo);
gv_novaNukeCount += 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4342
libNtve_gf_PauseUnit(gv_nova, false);
Wait(0.5, c_timeGame);
UnitSetOwner(lv_silo, gv_pLAYER01_USER, true);
gf_ArmSilo(lv_silo);
gv_novaNukeCount += 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:956
if (((UnitGetPropertyFixed(UnitFromId(96), c_unitPropShieldsPercent, c_unitPropCurrent) < 100.0) || (UnitGetPropertyFixed(UnitFromId(109), c_unitPropShieldsPercent, c_unitPropCurrent) < 100.0) || (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(4), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
UnitSetOwner(UnitFromId(109), gv_p6_FIRST_PROTOSS, true);
AISetUnitScriptControlled(UnitFromId(109), false);
AIAttackWaveSetTargetPlayer(gv_p6_FIRST_PROTOSS, PlayerGroupSingle(gv_p1_USER));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1788
UnitSetState(auto00B238A4_var, c_unitStateSelectable, true);
UnitSetState(auto00B238A4_var, c_unitStateStatusBar, true);
UnitSetOwner(auto00B238A4_var, gv_p3_TEMPLE, true);
UnitGroupAdd(gv_artifactGuardiansNorth, auto00B238A4_var);
UnitSetPropertyFixed(auto00B238A4_var, c_unitPropLifeMax, gv_statueHealth);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1876
UnitSetState(autoBCAA4503_var, c_unitStateSelectable, true);
UnitSetState(autoBCAA4503_var, c_unitStateStatusBar, true);
UnitSetOwner(autoBCAA4503_var, gv_p3_TEMPLE, true);
UnitGroupAdd(gv_artifactGuardiansSouth, autoBCAA4503_var);
UnitSetPropertyFixed(autoBCAA4503_var, c_unitPropLifeMax, gv_statueHealth);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1589
gv_playerControlsLaserDrill = true;
UnitSetOwner(UnitFromId(409), gv_p1_USER, true);
libNtve_gf_MakeUnitUncommandable(gv_tHEONEDRILL, false);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3562
}
UnitSetOwner(EventUnitProgressUnit(), gv_p3_WARPEDINPROTOSS, true);
AISetUnitSuicide(EventUnitProgressUnit(), true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3595
Wait(0.2, c_timeGame);
UnitSetOwner(EventUnitCargo(), gv_p3_WARPEDINPROTOSS, true);
AISetUnitSuicide(EventUnitCargo(), true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1721
AIAttackWaveAddUnits4(0, 0, 0, 1, "HighTemplar");
if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
UnitSetOwner(UnitFromId(539), gv_pLAYER02_PROTOSS, true);
AISetUnitScriptControlled(UnitFromId(539), false);
AIAttackWaveUseUnit(gv_pLAYER02_PROTOSS, UnitFromId(539));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1735
AIAttackWaveAddUnits4(0, 0, 1, 1, "HighTemplar");
if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 0) == 1)) {
UnitSetOwner(UnitFromId(539), gv_pLAYER02_PROTOSS, true);
AISetUnitScriptControlled(UnitFromId(539), false);
AIAttackWaveUseUnit(gv_pLAYER02_PROTOSS, UnitFromId(539));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1768
auto85DF51E6_var = UnitGroupUnitFromEnd(auto85DF51E6_g, auto85DF51E6_u);
if (auto85DF51E6_var == null) { break; }
UnitSetOwner(auto85DF51E6_var, gv_p07_ZERG_PINK, true);
}
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 1.0, 100.0, 2.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4718
libNtve_gf_ShowHideUnit(auto98FF846B_var, true);
libNtve_gf_PauseUnit(auto98FF846B_var, false);
UnitSetOwner(auto98FF846B_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup03, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4730
libNtve_gf_ShowHideUnit(auto0B0EBEB3_var, true);
libNtve_gf_PauseUnit(auto0B0EBEB3_var, false);
UnitSetOwner(auto0B0EBEB3_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup01, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4742
libNtve_gf_ShowHideUnit(autoBF8B0FFA_var, true);
libNtve_gf_PauseUnit(autoBF8B0FFA_var, false);
UnitSetOwner(autoBF8B0FFA_var, gv_p05_ZERG_ORANGE_NW, false);
}
AISetGroupScriptControlled(gv_zergRushGroup02, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:9627
libNtve_gf_ShowHideUnit(gv__1BroodchamberNuke, true);
libNtve_gf_MakeUnitInvulnerable(gv__1BroodchamberNuke, false);
UnitSetOwner(gv__1BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv__1BroodchamberNuke), c_animNameDefault, "Stand Work", c_animFlagPlayForever, 0.0);
auto29E3CE04_g = gv_cinematicHiddenUnitGroup;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:9804
UnitRemove(auto92CB7B3C_var);
}
UnitSetOwner(gv__1BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_ShowHideUnit(gv__1BroodchamberNuke, true);
libNtve_gf_ChangeUnitDamage(gv__1BroodchamberNuke, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10343
libNtve_gf_ShowHideUnit(gv__2BroodchamberNuke, true);
libNtve_gf_MakeUnitInvulnerable(gv__2BroodchamberNuke, false);
UnitSetOwner(gv__2BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv__2BroodchamberNuke), c_animNameDefault, "Stand Work", c_animFlagPlayForever, 0.0);
auto76CD65C6_g = gv_cinematicActors;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10531
}
UnitSetOwner(gv__2BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_ShowHideUnit(gv__2BroodchamberNuke, true);
libNtve_gf_ChangeUnitDamage(gv__2BroodchamberNuke, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11307
UnitSetPosition(gv_tHEONETYCHUS, PointFromId(1041), false);
libNtve_gf_ShowHideUnit(gv__3BroodchamberNuke, true);
UnitSetOwner(gv__3BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv__3BroodchamberNuke), c_animNameDefault, "Stand Work", c_animFlagPlayForever, 0.0);
autoD91D20D6_g = gv_cinematicHiddenUnitGroup;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11534
UnitRemove(auto7905C978_var);
}
UnitSetOwner(gv__3BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_ShowHideUnit(gv__3BroodchamberNuke, true);
libNtve_gf_ChangeUnitDamage(gv__3BroodchamberNuke, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:12235
libNtve_gf_PauseUnit(gv_cINEMATICSWANN, false);
libNtve_gf_ShowHideUnit(lv_lOCAL_NukeUnit, true);
UnitSetOwner(lv_lOCAL_NukeUnit, gv_p1_USER, true);
SoundPlayAtPoint(SoundLink("TArmoryCraneStand03", 0), PlayerGroupAll(), UnitGetPosition(lv_lOCAL_NukeUnit), 8.0, 100.0, 0.0);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_lOCAL_NukeUnit), c_animNameDefault, "Stand Work Start", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:2835
}
UnitSetOwner(EventUnit(), gv_pLAYER_P07_ZERG_EXP, true);
AISetUnitScriptControlled(EventUnit(), true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3371
libNtve_gf_ShowHideUnit(gv_kerrigan, false);
UnitSetOwner(gv_kerrigan, 0, false);
UnitSetState(gv_kerrigan, c_unitStateTargetable, false);
UnitSetState(gv_kerrigan, c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3437
UnitSetPosition(gv_kerrigan, PointFromId(132), false);
UnitSetPropertyFixed(gv_kerrigan, c_unitPropLifePercent, 100.0);
UnitSetOwner(gv_kerrigan, 0, false);
UnitIssueOrder(gv_kerrigan, Order(AbilityCommand("Val03QueenOfBladesUnburrow", 0)), c_orderQueueReplace);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionCircle(PointFromId(132), 16.0), "QueenChamber", c_animNameDefault, "Stand Work Start", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3491
Wait(6.667, c_timeGame);
libNtve_gf_PauseUnit(gv_kerrigan, false);
UnitSetOwner(gv_kerrigan, gv_pLAYER_ZERG_MAIN, false);
UnitSetState(gv_kerrigan, c_unitStateTargetable, true);
UnitSetState(gv_kerrigan, c_unitStateSelectable, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:9351
autoCA234265_var = UnitGroupUnitFromEnd(autoCA234265_g, autoCA234265_u);
if (autoCA234265_var == null) { break; }
UnitSetOwner(autoCA234265_var, gv_p3_ZERG, true);
}
libNtve_gf_CreateUnitsAtPoint2(1, "Zeratul", 0, gv_p1_USER, PointFromId(1724));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:9683
}
UnitSetOwner(UnitFromId(74), 0, true);
libNtve_gf_ShareVisionofUnit(UnitFromId(74), false, gv_p1_USER);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(74)), c_animNameDefault, "Stand Work End", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:5357
auto6BC92896_var = UnitGroupUnitFromEnd(auto6BC92896_g, auto6BC92896_u);
if (auto6BC92896_var == null) { break; }
UnitSetOwner(auto6BC92896_var, gv_p7_NEUTRAL, true);
UnitFlashSelection(auto6BC92896_var, 1.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:5365
auto22EFCD9E_var = UnitGroupUnitFromEnd(auto22EFCD9E_g, auto22EFCD9E_u);
if (auto22EFCD9E_var == null) { break; }
UnitSetOwner(auto22EFCD9E_var, gv_p7_NEUTRAL, true);
UnitFlashSelection(auto22EFCD9E_var, 1.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:5373
autoA843808E_var = UnitGroupUnitFromEnd(autoA843808E_g, autoA843808E_u);
if (autoA843808E_var == null) { break; }
UnitSetOwner(autoA843808E_var, gv_p7_NEUTRAL, true);
UnitFlashSelection(autoA843808E_var, 1.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:908
UnitIssueOrder(gv_zeratul, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1520)), c_orderQueueReplace);
Wait(0.5, c_timeGame);
UnitSetOwner(gv_zeratul, gv_p01_USER, true);
UnitFlashSelection(gv_zeratul, 1.0);
UnitSelect(gv_zeratul, gv_p01_USER, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:952
TriggerEnable(TriggerGetCurrent(), false);
SoundPlayOnUnit(SoundLink("Observer_Pissed", 3), PlayerGroupAll(), UnitFromId(355), 0.0, 100.0, 0.0);
UnitSetOwner(UnitFromId(355), gv_p01_USER, true);
UnitFlashSelection(UnitFromId(355), 1.0);
libNtve_gf_AttachModelToUnit(UnitFromId(355), "BriefingUnitSelectProtossSmall", "Ref_Origin");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4962
UnitIssueOrder(auto22CEE286_var, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(71)), c_orderQueueReplace);
}
UnitSetOwner(UnitFromId(90), gv_p01_USER, true);
UnitSetPosition(UnitFromId(154), PointFromId(532), false);
UnitSetPosition(UnitFromId(455), PointFromId(531), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1261
UnitFlashSelection(EventUnitProgressUnit(), 1.0);
MinimapPing(PlayerGroupAll(), UnitGetPosition(EventUnitProgressUnit()), 6.0, Color(0.00, 100.00, 0.00));
UnitSetOwner(EventUnitProgressUnit(), gv_p01_PLAYER, false);
UnitSetTeamColorIndex(EventUnitProgressUnit(), 6);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1269
UnitFlashSelection(EventUnitProgressUnit(), 1.0);
MinimapPing(PlayerGroupAll(), UnitGetPosition(EventUnitProgressUnit()), 6.0, Color(0.00, 100.00, 0.00));
UnitSetOwner(EventUnitProgressUnit(), gv_p01_PLAYER, false);
UnitSetTeamColorIndex(EventUnitProgressUnit(), 6);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1278
UnitMagazineArm(EventUnitProgressUnit(), AbilityCommand("SelendisHangar", 0), 4);
MinimapPing(PlayerGroupAll(), UnitGetPosition(EventUnitProgressUnit()), 6.0, Color(0.00, 100.00, 0.00));
UnitSetOwner(EventUnitProgressUnit(), gv_p01_PLAYER, false);
UnitSetTeamColorIndex(EventUnitProgressUnit(), 6);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1283
if (((UnitGetType(EventUnitProgressUnit()) == "Zealot") || (UnitGetType(EventUnitProgressUnit()) == "Stalker") || (UnitGetType(EventUnitProgressUnit()) == "Immortal") || (UnitGetType(EventUnitProgressUnit()) == "Phoenix") || (UnitGetType(EventUnitProgressUnit()) == "VoidRay") || (UnitGetType(EventUnitProgressUnit()) == "Carrier"))) {
UnitSetOwner(EventUnitProgressUnit(), gv_p01_PLAYER, true);
UnitSetTeamColorIndex(EventUnitProgressUnit(), 7);
UnitSetState(EventUnitProgressUnit(), c_unitStateUsingSupply, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1330
Wait(8.666, c_timeGame);
libNtve_gf_PauseUnit(gv_heroMothership, false);
UnitSetOwner(gv_heroMothership, gv_p01_PLAYER, false);
UnitSetTeamColorIndex(gv_heroMothership, 6);
UnitFlashSelection(gv_heroMothership, 1.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:5230
gf_DisplayBossHPBar(StringExternal("Param/Value/EFB6AA84"));
libNtve_gf_MakeUnitInvulnerable(gv_boss, false);
UnitSetOwner(gv_boss, gv_p2_ENEMY, true);
TriggerExecute(gt_Level2BossLeviathanBehavior, true, false);
while (!((UnitIsAlive(gv_boss) == false))) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:5681
gf_DisplayBossHPBar(StringExternal("Param/Value/C742B90D"));
libNtve_gf_MakeUnitInvulnerable(gv_boss, false);
UnitSetOwner(gv_boss, gv_p2_ENEMY, true);
TriggerExecute(gt_Level3BossTerraTronBehavior, true, false);
while (!((UnitIsAlive(gv_boss) == false))) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:407
lv_u = UnitGroupUnitFromEnd(autoC43E849B_g, autoC43E849B_u);
if (lv_u == null) { break; }
UnitSetOwner(lv_u, lp_player, true);
libNtve_gf_PauseUnit(lv_u, false);
UnitIssueOrder(lv_u, Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:1711
if (auto2D5D7001_var == null) { break; }
if (((UnitGetType(auto2D5D7001_var) == "AutoTurret") || (UnitGetType(auto2D5D7001_var) == "ColonistShip"))) {
UnitSetOwner(auto2D5D7001_var, gv_p4_COLONISTS, true);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:5774
libNtve_gf_CreateUnitsAtPoint2(2, "Civilian", 0, 1, PointFromId(2654));
libNtve_gf_CreateUnitsAtPoint2(2, "CivilianFemale", 0, 1, PointFromId(2656));
UnitSetOwner(UnitFromId(698), gv_p4_COLONISTS, true);
auto0F0F1029_g = UnitGroup("AutoTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto0F0F1029_u = UnitGroupCount(auto0F0F1029_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:5780
auto0F0F1029_var = UnitGroupUnitFromEnd(auto0F0F1029_g, auto0F0F1029_u);
if (auto0F0F1029_var == null) { break; }
UnitSetOwner(auto0F0F1029_var, gv_p4_COLONISTS, true);
libNtve_gf_ChangeUnitDamage(auto0F0F1029_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:5788
auto819CA525_var = UnitGroupUnitFromEnd(auto819CA525_g, auto819CA525_u);
if (auto819CA525_var == null) { break; }
UnitSetOwner(auto819CA525_var, gv_p4_COLONISTS, true);
}
auto2D98D8C8_g = UnitGroup("Civilian", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:5795
auto2D98D8C8_var = UnitGroupUnitFromEnd(auto2D98D8C8_g, auto2D98D8C8_u);
if (auto2D98D8C8_var == null) { break; }
UnitSetOwner(auto2D98D8C8_var, gv_p4_COLONISTS, true);
UnitSetPropertyFixed(auto2D98D8C8_var, c_unitPropLife, 1.0);
UnitBehaviorAdd(auto2D98D8C8_var, "Hustle", auto2D98D8C8_var, 1);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:5804
auto85C6499E_var = UnitGroupUnitFromEnd(auto85C6499E_g, auto85C6499E_u);
if (auto85C6499E_var == null) { break; }
UnitSetOwner(auto85C6499E_var, gv_p4_COLONISTS, true);
UnitSetPropertyFixed(auto85C6499E_var, c_unitPropLife, 1.0);
UnitBehaviorAdd(auto85C6499E_var, "Hustle", auto85C6499E_var, 1);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:5813
auto852CA24B_var = UnitGroupUnitFromEnd(auto852CA24B_g, auto852CA24B_u);
if (auto852CA24B_var == null) { break; }
UnitSetOwner(auto852CA24B_var, gv_p4_COLONISTS, true);
UnitSetPropertyFixed(auto852CA24B_var, c_unitPropLife, 10.0);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:5821
auto9597CF2B_var = UnitGroupUnitFromEnd(auto9597CF2B_g, auto9597CF2B_u);
if (auto9597CF2B_var == null) { break; }
UnitSetOwner(auto9597CF2B_var, gv_p2_ZERG_ORANGE_NW, true);
UnitBehaviorAdd(auto9597CF2B_var, "ScanRangeBonus", auto9597CF2B_var, 1);
}