# Set Unit Color
Grammar — Set unit team color to index|Color
Flags —Native
|Action
Sets a unit’s team color.
# Arguments
unit
— Unitint
<playercolor> — Index
Returns — void
native void UnitSetTeamColorIndex(
unit inUnit,
int inIndex,
);
# Related
Category: Unit / Properties
- Unit Type Of Unit —
string
<gamelink::Unit> — UnitGetType - Unit Tag —
int
— UnitGetTag - Unit Seed —
int
— UnitGetSeed - Unit Property Changes —
void
— TriggerAddEventUnitProperty - Triggering Unit Property —
int
<preset::Unit_Property> — EventUnitProperty - Triggering Unit Property Change (Integer) —
int
— EventUnitPropertyChangeInt - Triggering Unit Property Change (Real) —
fixed
— EventUnitPropertyChangeFixed - Set Unit Property —
void
— UnitSetPropertyFixed - Set Unit State —
void
— UnitSetState - Set Unit Seed —
void
— UnitSetSeed - Reset Unit Seed —
void
— UnitResetSeed - Make Unit Invulnerable —
void
— libNtve_gf_MakeUnitInvulnerable - Make Unit Uncommandable —
void
— libNtve_gf_MakeUnitUncommandable - Unit Property —
fixed
— UnitGetPropertyFixed - Unit Property (Int) —
int
— UnitGetPropertyInt - Unit Type Property —
fixed
— UnitTypeGetProperty - Unit Classification Check —
bool
— UnitTestState - Unit Type Classification Check —
bool
— UnitTypeTestFlag - Unit Type Attribute Check —
bool
— UnitTypeTestAttribute - Unit Targetable Check —
bool
— UnitTestPlane - Unit Is Invulnerable —
bool
— libNtve_gf_UnitIsInvulnerable - Unit Kills —
int
— libNtve_gf_UnitGetPropertyKills - Unit Resources —
int
— libNtve_gf_UnitGetPropertyResources - Unit Attachment Point —
point
— UnitGetAttachmentPoint - Name Of Unit Type —
text
— UnitTypeGetName - Gender Code Of Unit Type —
string
— UnitTypeGetGenderCode - Unit Type Cost —
int
— UnitTypeGetCost - Unit Type Is Affected By Upgrade —
bool
— UnitTypeIsAffectedByUpgrade - Reset Movement Speed —
void
— UnitResetSpeed - Unit Uses Mover —
bool
— UnitMoverExists - Unit Type Uses Mover —
bool
— libNtve_gf_UnitMoverExists - Unit Type From String —
string
<gamelink::Unit> — UnitTypeFromString - Set Unit Color —
void
— UnitSetTeamColorIndex - Set Unit Info Button - Ability Tooltip —
void
— libNtve_gf_SetUnitInfoButtonAbilityTooltip - Set Unit Info Button - Button Tooltip —
void
— libNtve_gf_SetUnitInfoButtonButtonTooltip - Set Unit Info Button - Item Tooltip —
void
— libNtve_gf_SetUnitInfoButtonItemTooltip - Reset Unit Info Button - Ability Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonAbilityTooltip - Reset Unit Info Button - Button Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonButtonTooltip - Reset Unit Info Button - Item Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonItemTooltip - Set Unit Command Button Tooltip —
void
— UnitSetInfoButtonTooltip - Reset Unit Command Button Tooltip —
void
— UnitClearInfoButtonTooltip - Set Unit Highlight Cursor —
void
— UnitSetCursor - Set Unit Ping Cursor —
void
— UnitSetPingCursor - Set Unit Info —
void
— UnitSetInfoText - Set Unit Info Text —
void
— UnitSetInfoText2 - Set Unit Info Tip —
void
— UnitSetInfoTip - Set Unit Info SubTip —
void
— UnitSetInfoSubTip - Clear Unit Info —
void
— UnitClearInfoText - Set Unit Status Bar State (Deprecated) —
void
— UnitForceStatusBar - Show Unit Status Bar —
void
— UnitStatusBarOverride - Hide Unit Status Bar —
void
— UnitStatusBarClearOverride - Set Unit Scale —
void
— UnitSetScale - Set Unit Model Variation —
void
— libNtve_gf_UnitSetVariation - Change Unit Height —
void
— UnitSetHeight - Height Of Unit —
fixed
— UnitGetHeight - Change Unit Damage —
void
— libNtve_gf_ChangeUnitDamage - Add On Child —
unit
— UnitAddOnChild - Add On Parent —
unit
— UnitAddOnParent
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5223
else {
}
UnitSetTeamColorIndex(gv_boss, 1);
SoundPlayOnUnit(SoundLink("Ultralisk_Roar", 0), PlayerGroupAll(), gv_boss, 0.0, 100.0, 0.0);
libNtve_gf_MakeUnitInvulnerable(gv_boss, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5673
else {
}
UnitSetTeamColorIndex(gv_boss, 1);
SoundPlayOnUnit(SoundLink("LostViking_TerraTronBirth", 0), PlayerGroupAll(), gv_boss, 0.0, 100.0, 0.0);
libNtve_gf_MakeUnitInvulnerable(gv_boss, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1324
libNtve_gf_CreateUnitsAtPoint2(1, "CivilianFemale", 0, 0, PointFromId(86));
gv_crazyRidley = UnitLastCreated();
UnitSetTeamColorIndex(UnitLastCreated(), 10);
UnitSetState(UnitLastCreated(), c_unitStateTargetable, true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(161)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6783
lv_selendis = UnitLastCreated();
UnitMagazineArm(lv_selendis, AbilityCommand("SelendisHangar", 0), 8);
UnitSetTeamColorIndex(lv_selendis, 6);
UnitSetPropertyFixed(lv_selendis, c_unitPropLifeMax, 8000.0);
UnitSetPropertyFixed(lv_selendis, c_unitPropLifePercent, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:447
libNtve_gf_PauseUnit(gv_odin, true);
libNtve_gf_ShowHideUnit(gv_odin, false);
UnitSetTeamColorIndex(gv_odin, 1);
libNtve_gf_ShowHideUnit(UnitFromId(935), false);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(109)), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:942
}
UnitIssueOrder(UnitFromId(963), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
UnitSetTeamColorIndex(UnitFromId(1081), 1);
auto604BE6FC_g = UnitGroup("LogisticsHeadquarters", gv_p08_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto604BE6FC_u = UnitGroupCount(auto604BE6FC_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:8171
TriggerExecute(gt_InitEscape, true, false);
gv_hercules = UnitFromId(492);
UnitSetTeamColorIndex(gv_hercules, 1);
UnitSetState(gv_hercules, c_unitStateTargetable, false);
libNtve_gf_ChangeUnitDamage(gv_hercules, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4782
auto8983156A_var = UnitGroupUnitFromEnd(auto8983156A_g, auto8983156A_u);
if (auto8983156A_var == null) { break; }
UnitSetTeamColorIndex(auto8983156A_var, 1);
}
UnitIssueOrder(gv_introVik02, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(614)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2686
gv_mov_Marine01 = UnitLastCreated();
gf_CreateInfoText(UnitLastCreated());
UnitSetTeamColorIndex(gv_mov_Marine01, 2);
UnitGroupLoopBegin(gv_pathingBlockerGroup01);
while (!UnitGroupLoopDone()) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1770
auto6C9C88B3_var = UnitGroupUnitFromEnd(auto6C9C88B3_g, auto6C9C88B3_u);
if (auto6C9C88B3_var == null) { break; }
UnitSetTeamColorIndex(auto6C9C88B3_var, 11);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(auto6C9C88B3_var), c_animNameDefault);
libNtve_gf_TurnAllAnimationPropertiesOff(libNtve_gf_MainActorofUnit(auto6C9C88B3_var));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1856
autoDC337D76_var = UnitGroupUnitFromEnd(autoDC337D76_g, autoDC337D76_u);
if (autoDC337D76_var == null) { break; }
UnitSetTeamColorIndex(autoDC337D76_var, 11);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(autoDC337D76_var), c_animNameDefault);
libNtve_gf_TurnAllAnimationPropertiesOff(libNtve_gf_MainActorofUnit(autoDC337D76_var));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:566
libNtve_gf_ShowHideUnit(autoE010A74A_var, false);
}
UnitSetTeamColorIndex(UnitFromId(409), 5);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:459
if ((UnitGetType(UnitLastCreated()) == "Leviathan")) {
gv_leviathan = UnitLastCreated();
UnitSetTeamColorIndex(UnitLastCreated(), gv_specialUnitColor);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_leviathanMaxHP);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyMax, gv_leviathanMaxEnergy);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:469
autoC61110BC_val = lp_location;
if (autoC61110BC_val == RegionFromId(2)) {
UnitSetTeamColorIndex(UnitLastCreated(), gv_specialUnitColor);
if ((UnitGetType(UnitLastCreated()) != "Scourge")) {
UnitGroupAdd(gv_airPingGroup, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:476
}
else if (autoC61110BC_val == RegionFromId(11)) {
UnitSetTeamColorIndex(UnitLastCreated(), gv_specialUnitColor);
if ((UnitGetType(UnitLastCreated()) != "Scourge")) {
UnitGroupAdd(gv_airPingGroupBehind, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:539
auto56D3AD49_var = UnitGroupUnitFromEnd(auto56D3AD49_g, auto56D3AD49_u);
if (auto56D3AD49_var == null) { break; }
UnitSetTeamColorIndex(auto56D3AD49_var, gv_specialUnitColor);
}
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2764
AISetUnitSuicide(EventUnit(), true);
UnitSetTeamColorIndex(EventUnit(), gv_specialUnitColor);
if ((UnitGetType(EventUnit()) == "Mutalisk")) {
UnitGroupAdd(gv_leviathanMutas, EventUnit());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3094
}
libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_pLAYER_ZERG_MAIN, lv_spawnPoint);
UnitSetTeamColorIndex(UnitLastCreated(), gv_specialUnitColor);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_nydusWormHP);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifePercent, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:811
libNtve_gf_PauseUnit(UnitFromId(360), true);
gv_tHEONEKARASS = UnitFromId(483);
UnitSetTeamColorIndex(gv_tHEONEKARASS, 6);
UnitSetPropertyFixed(gv_tHEONEKARASS, c_unitPropEnergyPercent, 100.0);
auto065E4886_g = UnitGroup("ZerglingBurrowed", gv_p3_ZERG, RegionFromId(110), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:7394
}
UnitSetTeamColorIndex(EventUnitProgressUnit(), 2);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:9362
if ((UnitIsAlive(gv_tHEONEKARASS) == true)) {
libNtve_gf_CreateUnitsAtPoint2(1, "Karass", 0, gv_p2_ALLIED, PointFromId(517));
UnitSetTeamColorIndex(UnitLastCreated(), 6);
UnitSetState(UnitLastCreated(), c_unitStateFidget, false);
gv_cinematicKerriganIntroKarass = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1262
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:1270
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:1279
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:1284
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:1331
libNtve_gf_PauseUnit(gv_heroMothership, false);
UnitSetOwner(gv_heroMothership, gv_p01_PLAYER, false);
UnitSetTeamColorIndex(gv_heroMothership, 6);
UnitFlashSelection(gv_heroMothership, 1.0);
TechTreeAbilityAllow(gv_p01_PLAYER, AbilityCommand("NexusTrainMothership", 0), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:5223
else {
}
UnitSetTeamColorIndex(gv_boss, 1);
SoundPlayOnUnit(SoundLink("Ultralisk_Roar", 0), PlayerGroupAll(), gv_boss, 0.0, 100.0, 0.0);
libNtve_gf_MakeUnitInvulnerable(gv_boss, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:5673
else {
}
UnitSetTeamColorIndex(gv_boss, 1);
SoundPlayOnUnit(SoundLink("LostViking_TerraTronBirth", 0), PlayerGroupAll(), gv_boss, 0.0, 100.0, 0.0);
libNtve_gf_MakeUnitInvulnerable(gv_boss, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:1324
libNtve_gf_CreateUnitsAtPoint2(1, "CivilianFemale", 0, 0, PointFromId(86));
gv_crazyRidley = UnitLastCreated();
UnitSetTeamColorIndex(UnitLastCreated(), 10);
UnitSetState(UnitLastCreated(), c_unitStateTargetable, true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(161)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6783
lv_selendis = UnitLastCreated();
UnitMagazineArm(lv_selendis, AbilityCommand("SelendisHangar", 0), 8);
UnitSetTeamColorIndex(lv_selendis, 6);
UnitSetPropertyFixed(lv_selendis, c_unitPropLifeMax, 8000.0);
UnitSetPropertyFixed(lv_selendis, c_unitPropLifePercent, 100.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:447
libNtve_gf_PauseUnit(gv_odin, true);
libNtve_gf_ShowHideUnit(gv_odin, false);
UnitSetTeamColorIndex(gv_odin, 1);
libNtve_gf_ShowHideUnit(UnitFromId(935), false);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(109)), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:942
}
UnitIssueOrder(UnitFromId(963), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
UnitSetTeamColorIndex(UnitFromId(1081), 1);
auto604BE6FC_g = UnitGroup("LogisticsHeadquarters", gv_p08_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto604BE6FC_u = UnitGroupCount(auto604BE6FC_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:8171
TriggerExecute(gt_InitEscape, true, false);
gv_hercules = UnitFromId(492);
UnitSetTeamColorIndex(gv_hercules, 1);
UnitSetState(gv_hercules, c_unitStateTargetable, false);
libNtve_gf_ChangeUnitDamage(gv_hercules, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:4782
auto8983156A_var = UnitGroupUnitFromEnd(auto8983156A_g, auto8983156A_u);
if (auto8983156A_var == null) { break; }
UnitSetTeamColorIndex(auto8983156A_var, 1);
}
UnitIssueOrder(gv_introVik02, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(614)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2686
gv_mov_Marine01 = UnitLastCreated();
gf_CreateInfoText(UnitLastCreated());
UnitSetTeamColorIndex(gv_mov_Marine01, 2);
UnitGroupLoopBegin(gv_pathingBlockerGroup01);
while (!UnitGroupLoopDone()) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:1770
auto6C9C88B3_var = UnitGroupUnitFromEnd(auto6C9C88B3_g, auto6C9C88B3_u);
if (auto6C9C88B3_var == null) { break; }
UnitSetTeamColorIndex(auto6C9C88B3_var, 11);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(auto6C9C88B3_var), c_animNameDefault);
libNtve_gf_TurnAllAnimationPropertiesOff(libNtve_gf_MainActorofUnit(auto6C9C88B3_var));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:1856
autoDC337D76_var = UnitGroupUnitFromEnd(autoDC337D76_g, autoDC337D76_u);
if (autoDC337D76_var == null) { break; }
UnitSetTeamColorIndex(autoDC337D76_var, 11);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(autoDC337D76_var), c_animNameDefault);
libNtve_gf_TurnAllAnimationPropertiesOff(libNtve_gf_MainActorofUnit(autoDC337D76_var));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:566
libNtve_gf_ShowHideUnit(autoE010A74A_var, false);
}
UnitSetTeamColorIndex(UnitFromId(409), 5);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:459
if ((UnitGetType(UnitLastCreated()) == "Leviathan")) {
gv_leviathan = UnitLastCreated();
UnitSetTeamColorIndex(UnitLastCreated(), gv_specialUnitColor);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_leviathanMaxHP);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyMax, gv_leviathanMaxEnergy);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:469
autoC61110BC_val = lp_location;
if (autoC61110BC_val == RegionFromId(2)) {
UnitSetTeamColorIndex(UnitLastCreated(), gv_specialUnitColor);
if ((UnitGetType(UnitLastCreated()) != "Scourge")) {
UnitGroupAdd(gv_airPingGroup, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:476
}
else if (autoC61110BC_val == RegionFromId(11)) {
UnitSetTeamColorIndex(UnitLastCreated(), gv_specialUnitColor);
if ((UnitGetType(UnitLastCreated()) != "Scourge")) {
UnitGroupAdd(gv_airPingGroupBehind, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:539
auto56D3AD49_var = UnitGroupUnitFromEnd(auto56D3AD49_g, auto56D3AD49_u);
if (auto56D3AD49_var == null) { break; }
UnitSetTeamColorIndex(auto56D3AD49_var, gv_specialUnitColor);
}
AISetGroupSuicide(UnitLastCreatedGroup(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:2764
AISetUnitSuicide(EventUnit(), true);
UnitSetTeamColorIndex(EventUnit(), gv_specialUnitColor);
if ((UnitGetType(EventUnit()) == "Mutalisk")) {
UnitGroupAdd(gv_leviathanMutas, EventUnit());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:3094
}
libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_pLAYER_ZERG_MAIN, lv_spawnPoint);
UnitSetTeamColorIndex(UnitLastCreated(), gv_specialUnitColor);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_nydusWormHP);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifePercent, 100.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:811
libNtve_gf_PauseUnit(UnitFromId(360), true);
gv_tHEONEKARASS = UnitFromId(483);
UnitSetTeamColorIndex(gv_tHEONEKARASS, 6);
UnitSetPropertyFixed(gv_tHEONEKARASS, c_unitPropEnergyPercent, 100.0);
auto065E4886_g = UnitGroup("ZerglingBurrowed", gv_p3_ZERG, RegionFromId(110), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:7394
}
UnitSetTeamColorIndex(EventUnitProgressUnit(), 2);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:9362
if ((UnitIsAlive(gv_tHEONEKARASS) == true)) {
libNtve_gf_CreateUnitsAtPoint2(1, "Karass", 0, gv_p2_ALLIED, PointFromId(517));
UnitSetTeamColorIndex(UnitLastCreated(), 6);
UnitSetState(UnitLastCreated(), c_unitStateFidget, false);
gv_cinematicKerriganIntroKarass = UnitLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:1262
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:1270
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:1279
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:1284
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:1331
libNtve_gf_PauseUnit(gv_heroMothership, false);
UnitSetOwner(gv_heroMothership, gv_p01_PLAYER, false);
UnitSetTeamColorIndex(gv_heroMothership, 6);
UnitFlashSelection(gv_heroMothership, 1.0);
TechTreeAbilityAllow(gv_p01_PLAYER, AbilityCommand("NexusTrainMothership", 0), true);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:454
}
libNtve_gf_CreateUnitsAtPoint2(1, "ZergDropPod", 0, 0, lp_location);
UnitSetTeamColorIndex(UnitLastCreated(), 4);
lv_dropPod = UnitLastCreated();
Wait(2.5, c_timeGame);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2map/MapScript.galaxy:534
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_04_CAGED_ZERG, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
UnitSetTeamColorIndex(UnitGroupLoopCurrent(), 5);
UnitSetState(UnitGroupLoopCurrent(), c_unitStateTargetable, false);
UnitSetState(UnitGroupLoopCurrent(), c_unitStateSelectable, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2map/MapScript.galaxy:543
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_04_CAGED_ZERG, RegionFromId(12), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
UnitSetTeamColorIndex(UnitGroupLoopCurrent(), 5);
UnitSetState(UnitGroupLoopCurrent(), c_unitStateTargetable, false);
UnitSetState(UnitGroupLoopCurrent(), c_unitStateSelectable, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:842
auto09291B66_var = UnitGroupUnitFromEnd(auto09291B66_g, auto09291B66_u);
if (auto09291B66_var == null) { break; }
UnitSetTeamColorIndex(auto09291B66_var, PlayerGetColorIndex(gv_pLAYER_02_ZERG, false));
}
auto9DF72A04_g = UnitGroup("InfestedCC", gv_pLAYER_02_ZERG2, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5221
UnitSetState(gv_introEggs, c_unitStateTooltipable, false);
UnitSetState(gv_introEggs, c_unitStateInvulnerable, true);
UnitSetTeamColorIndex(gv_introEggs, 14);
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_pLAYER_01_USER, PointFromId(1635));
UnitGroupAdd(gv_introHiddenUnitGroup2, UnitLastCreated());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:5712
if ((UnitGetCustomValue(auto1CE342C4_var, 0) < 1.0)) {
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(auto1CE342C4_var), c_animNameDefault, "Stand Unpowered", c_animFlagPlayForever, c_animTimeDefault);
UnitSetTeamColorIndex(auto1CE342C4_var, 14);
UnitSetOwner(auto1CE342C4_var, 0, false);
UnitSetState(auto1CE342C4_var, c_unitStateTooltipable, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:952
libSwaC_gf_SetUnitInfoTextCampaign(autoBB441A2D_var, StringExternal("Param/Value/B04BE048"), StringExternal("Param/Value/95E73740"), null);
}
UnitSetTeamColorIndex(UnitFromId(54), libSwaC_gf_CampaignKerriganZergPlayerColor());
libNtve_gf_ShareVisionofUnit(UnitFromId(54), true, gv_pLAYER_01_USER);
libSwaC_gf_SetUnitInfoTextCampaign(UnitFromId(54), null, UnitTypeGetName(UnitGetType(UnitFromId(54))), null);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:811
UnitSetState(lp_cHOSEN_UNIT, c_unitStateTargetable, true);
libNtve_gf_RescueUnit(lp_cHOSEN_UNIT, gv_pLAYER_01_USER, true);
UnitSetTeamColorIndex(lp_cHOSEN_UNIT, PlayerGetColorIndex(gv_pLAYER_01_USER, false));
SoundPlayAtPoint(SoundLink("Event_Expedition01_FreeRoachVox", -1), PlayerGroupAll(), UnitGetPosition(lp_cHOSEN_UNIT), 0.0, 100.0, 0.0);
if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lp_cHOSEN_UNIT), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32))), 1), c_unitCountAlive) == 0) || (UnitGetOwner(lp_cHOSEN_UNIT) != gv_pLAYER_02_RESCUE_ZERG))) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:1001
}
libNtve_gf_MakeUnitInvulnerable(UnitFromId(241), true);
UnitSetTeamColorIndex(UnitFromId(308), 14);
UnitSetTeamColorIndex(UnitFromId(23), 7);
UnitSetTeamColorIndex(UnitFromId(307), 2);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:1002
libNtve_gf_MakeUnitInvulnerable(UnitFromId(241), true);
UnitSetTeamColorIndex(UnitFromId(308), 14);
UnitSetTeamColorIndex(UnitFromId(23), 7);
UnitSetTeamColorIndex(UnitFromId(307), 2);
UnitSetTeamColorIndex(UnitFromId(309), 5);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:1003
UnitSetTeamColorIndex(UnitFromId(308), 14);
UnitSetTeamColorIndex(UnitFromId(23), 7);
UnitSetTeamColorIndex(UnitFromId(307), 2);
UnitSetTeamColorIndex(UnitFromId(309), 5);
autoB089A23E_g = UnitGroup("GhostAcademy", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:1004
UnitSetTeamColorIndex(UnitFromId(23), 7);
UnitSetTeamColorIndex(UnitFromId(307), 2);
UnitSetTeamColorIndex(UnitFromId(309), 5);
autoB089A23E_g = UnitGroup("GhostAcademy", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoB089A23E_u = UnitGroupCount(autoB089A23E_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:871
}
}
UnitSetTeamColorIndex(UnitFromId(1800), 5);
UnitIssueOrder(UnitFromId(47), Order(AbilityCommand("ExtendingBridgeNEWide8", 0)), c_orderQueueReplace);
autoF1E171DC_g = UnitGroup("Bunker", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:1322
UnitBehaviorAdd(UnitFromId(658), "Unturnable", UnitFromId(658), 1);
UnitSetState(gv_eRADICATOR, c_unitStateFidget, false);
UnitSetTeamColorIndex(gv_vALERIAN, 1);
UnitSetInfoText(UnitFromId(50), StringToText(""), StringExternal("Param/Value/2C8D102C"), StringToText(""));
UnitSetState(UnitFromId(50), c_unitStateTooltipable, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:10045
gv_kERRIGAN = UnitLastCreated();
UnitSetState(gv_kERRIGAN, c_unitStateFidget, false);
UnitSetTeamColorIndex(UnitLastCreated(), 6);
libNtve_gf_CreateUnitsAtPoint2(1, "Drone", c_unitCreateIgnorePlacement, gv_pLAYER_02_DOMINION2, PointFromId(2));
gv_startingDrone = UnitLastCreated();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:10411
UnitSetPropertyFixed(gv_kERRIGAN, c_unitPropMovementSpeed, 1.75);
UnitSetState(gv_kERRIGAN, c_unitStateFidget, false);
UnitSetTeamColorIndex(UnitLastCreated(), 6);
auto4B8EC178_g = UnitGroup(null, c_playerAny, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
auto4B8EC178_u = UnitGroupCount(auto4B8EC178_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1044
gv_kerrigan = UnitFromId(8);
libSwaC_gf_RegisterCampaignKerrigan(gv_kerrigan);
UnitSetTeamColorIndex(gv_kerrigan, 6);
libSwaC_gf_SetHeroPanelUnit(1, gv_kerrigan);
UnitMagazineArm(gv_kerrigan, AbilityCommand("RaynorLabMagazine", 0), 1);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1196
auto1608AAF4_var = UnitGroupUnitFromEnd(auto1608AAF4_g, auto1608AAF4_u);
if (auto1608AAF4_var == null) { break; }
UnitSetTeamColorIndex(auto1608AAF4_var, 1);
}
auto6C69F449_g = UnitGroup("UmojanLabCrashSiteSmall", gv_pLAYER_02_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11137
UnitSetState(UnitLastCreated(), c_unitStateFidget, false);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 2.0);
UnitSetTeamColorIndex(UnitLastCreated(), 6);
UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
gv_cINEMATIC_KERRIGAN = UnitLastCreated();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:12716
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(756)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_cINEMATIC_RAYNOR), c_orderQueueAddToEnd);
UnitSetTeamColorIndex(UnitLastCreated(), 1);
TriggerExecute(gt_MidCineArchangelBarrage, true, false);
libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_CinematicOutofTransmission);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1335
AISetUnitScriptControlled(auto671E051E_var, true);
}
UnitSetTeamColorIndex(UnitFromId(254), 2);
UnitSetState(UnitFromId(254), c_unitStateTargetable, false);
UnitSetState(UnitFromId(254), c_unitStateHighlightable, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1339
UnitSetState(UnitFromId(254), c_unitStateHighlightable, false);
UnitSetState(UnitFromId(254), c_unitStateSelectable, false);
UnitSetTeamColorIndex(UnitFromId(254), 2);
libSwaC_gf_SetUnitInfoTextCampaign(UnitFromId(254), null, StringExternal("Param/Value/E29C91C6"), null);
autoC7E0D3C3_g = UnitGroup("ColonistHutDecayedUnit", gv_pLAYER_05_INFESTED, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:8309
CreepSetSpeed(c_creepSpeedDecay, 0.0);
libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_07_DOMINION_LEFT, libNtve_ge_AllianceSetting_Neutral);
UnitSetTeamColorIndex(UnitFromId(254), 2);
UnitPauseAll(true);
libNtve_gf_PauseUnit(gv_kerrigan, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:8345
}
PlayerSetColorIndex(gv_pLAYER_01_USER, 4, true);
UnitSetTeamColorIndex(gv_kerrigan, 6);
UnitSetState(gv_kerrigan, c_unitStateFidget, false);
gv_introMineralsTotal = PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropMinerals);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:8377
autoDE0F1553_var = UnitGroupUnitFromEnd(autoDE0F1553_g, autoDE0F1553_u);
if (autoDE0F1553_var == null) { break; }
UnitSetTeamColorIndex(autoDE0F1553_var, 7);
}
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:8438
auto7032D3FD_var = UnitGroupUnitFromEnd(auto7032D3FD_g, auto7032D3FD_u);
if (auto7032D3FD_var == null) { break; }
UnitSetTeamColorIndex(auto7032D3FD_var, 6);
}
autoC44D0DB5_g = UnitGroup(null, gv_pLAYER_03_DOMINION_MAIN, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:8445
autoC44D0DB5_var = UnitGroupUnitFromEnd(autoC44D0DB5_g, autoC44D0DB5_u);
if (autoC44D0DB5_var == null) { break; }
UnitSetTeamColorIndex(autoC44D0DB5_var, 1);
}
UnitSetTeamColorIndex(UnitFromId(254), 2);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:8447
UnitSetTeamColorIndex(autoC44D0DB5_var, 1);
}
UnitSetTeamColorIndex(UnitFromId(254), 2);
libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionEntireMap(), gv_pLAYER_01_USER);
libNtve_gf_PauseUnit(gv_introDropship, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:8606
UnitIssueOrder(gv_kerrigan, OrderTargetingUnit(AbilityCommand("move", 4), UnitFromId(1)), c_orderQueueReplace);
PlayerSetColorIndex(gv_pLAYER_01_USER, 6, true);
UnitSetTeamColorIndex(UnitFromId(254), 2);
UnitBehaviorRemove(gv_kerrigan, "KerriganWalk", 1);
UnitSetState(gv_kerrigan, c_unitStateFidget, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:8623
auto84C1C953_var = UnitGroupUnitFromEnd(auto84C1C953_g, auto84C1C953_u);
if (auto84C1C953_var == null) { break; }
UnitSetTeamColorIndex(auto84C1C953_var, 6);
UnitIssueOrder(auto84C1C953_var, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8929
}
libSwaC_gf_CreateHero2(PointFromId(1204), gv_p01_USER, libSwaC_ge_HeroUnit_Kerrigan, PointGetFacing(PointFromId(1204)), 0, libSwaC_ge_KerriganCreatePurpose_Cinematic);
UnitSetTeamColorIndex(UnitLastCreated(), 4);
gv_cinematicKerrigan = UnitLastCreated();
UnitGroupAdd(gv_cinematicTempUnits, gv_cinematicKerrigan);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:756
libNtve_gf_CreateUnitsAtPoint2(1, "HybridReaver", 0, 0, lp_spawnPoint);
lv_localHybrid = UnitLastCreated();
UnitSetTeamColorIndex(lv_localHybrid, 1);
UnitSetHeight(lv_localHybrid, 12.0, 0.0);
UnitSetState(lv_localHybrid, c_unitStateStatusBar, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2map — MapScript.galaxy:534
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_04_CAGED_ZERG, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
UnitSetTeamColorIndex(UnitGroupLoopCurrent(), 5);
UnitSetState(UnitGroupLoopCurrent(), c_unitStateTargetable, false);
UnitSetState(UnitGroupLoopCurrent(), c_unitStateSelectable, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2map — MapScript.galaxy:543
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_04_CAGED_ZERG, RegionFromId(12), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
UnitSetTeamColorIndex(UnitGroupLoopCurrent(), 5);
UnitSetState(UnitGroupLoopCurrent(), c_unitStateTargetable, false);
UnitSetState(UnitGroupLoopCurrent(), c_unitStateSelectable, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:842
auto09291B66_var = UnitGroupUnitFromEnd(auto09291B66_g, auto09291B66_u);
if (auto09291B66_var == null) { break; }
UnitSetTeamColorIndex(auto09291B66_var, PlayerGetColorIndex(gv_pLAYER_02_ZERG, false));
}
auto9DF72A04_g = UnitGroup("InfestedCC", gv_pLAYER_02_ZERG2, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:5221
UnitSetState(gv_introEggs, c_unitStateTooltipable, false);
UnitSetState(gv_introEggs, c_unitStateInvulnerable, true);
UnitSetTeamColorIndex(gv_introEggs, 14);
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_pLAYER_01_USER, PointFromId(1635));
UnitGroupAdd(gv_introHiddenUnitGroup2, UnitLastCreated());
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:5712
if ((UnitGetCustomValue(auto1CE342C4_var, 0) < 1.0)) {
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(auto1CE342C4_var), c_animNameDefault, "Stand Unpowered", c_animFlagPlayForever, c_animTimeDefault);
UnitSetTeamColorIndex(auto1CE342C4_var, 14);
UnitSetOwner(auto1CE342C4_var, 0, false);
UnitSetState(auto1CE342C4_var, c_unitStateTooltipable, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:952
libSwaC_gf_SetUnitInfoTextCampaign(autoBB441A2D_var, StringExternal("Param/Value/B04BE048"), StringExternal("Param/Value/95E73740"), null);
}
UnitSetTeamColorIndex(UnitFromId(54), libSwaC_gf_CampaignKerriganZergPlayerColor());
libNtve_gf_ShareVisionofUnit(UnitFromId(54), true, gv_pLAYER_01_USER);
libSwaC_gf_SetUnitInfoTextCampaign(UnitFromId(54), null, UnitTypeGetName(UnitGetType(UnitFromId(54))), null);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:811
UnitSetState(lp_cHOSEN_UNIT, c_unitStateTargetable, true);
libNtve_gf_RescueUnit(lp_cHOSEN_UNIT, gv_pLAYER_01_USER, true);
UnitSetTeamColorIndex(lp_cHOSEN_UNIT, PlayerGetColorIndex(gv_pLAYER_01_USER, false));
SoundPlayAtPoint(SoundLink("Event_Expedition01_FreeRoachVox", -1), PlayerGroupAll(), UnitGetPosition(lp_cHOSEN_UNIT), 0.0, 100.0, 0.0);
if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lp_cHOSEN_UNIT), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32))), 1), c_unitCountAlive) == 0) || (UnitGetOwner(lp_cHOSEN_UNIT) != gv_pLAYER_02_RESCUE_ZERG))) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:1001
}
libNtve_gf_MakeUnitInvulnerable(UnitFromId(241), true);
UnitSetTeamColorIndex(UnitFromId(308), 14);
UnitSetTeamColorIndex(UnitFromId(23), 7);
UnitSetTeamColorIndex(UnitFromId(307), 2);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:1002
libNtve_gf_MakeUnitInvulnerable(UnitFromId(241), true);
UnitSetTeamColorIndex(UnitFromId(308), 14);
UnitSetTeamColorIndex(UnitFromId(23), 7);
UnitSetTeamColorIndex(UnitFromId(307), 2);
UnitSetTeamColorIndex(UnitFromId(309), 5);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:1003
UnitSetTeamColorIndex(UnitFromId(308), 14);
UnitSetTeamColorIndex(UnitFromId(23), 7);
UnitSetTeamColorIndex(UnitFromId(307), 2);
UnitSetTeamColorIndex(UnitFromId(309), 5);
autoB089A23E_g = UnitGroup("GhostAcademy", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:1004
UnitSetTeamColorIndex(UnitFromId(23), 7);
UnitSetTeamColorIndex(UnitFromId(307), 2);
UnitSetTeamColorIndex(UnitFromId(309), 5);
autoB089A23E_g = UnitGroup("GhostAcademy", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoB089A23E_u = UnitGroupCount(autoB089A23E_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map — MapScript.galaxy:871
}
}
UnitSetTeamColorIndex(UnitFromId(1800), 5);
UnitIssueOrder(UnitFromId(47), Order(AbilityCommand("ExtendingBridgeNEWide8", 0)), c_orderQueueReplace);
autoF1E171DC_g = UnitGroup("Bunker", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:1322
UnitBehaviorAdd(UnitFromId(658), "Unturnable", UnitFromId(658), 1);
UnitSetState(gv_eRADICATOR, c_unitStateFidget, false);
UnitSetTeamColorIndex(gv_vALERIAN, 1);
UnitSetInfoText(UnitFromId(50), StringToText(""), StringExternal("Param/Value/2C8D102C"), StringToText(""));
UnitSetState(UnitFromId(50), c_unitStateTooltipable, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:10045
gv_kERRIGAN = UnitLastCreated();
UnitSetState(gv_kERRIGAN, c_unitStateFidget, false);
UnitSetTeamColorIndex(UnitLastCreated(), 6);
libNtve_gf_CreateUnitsAtPoint2(1, "Drone", c_unitCreateIgnorePlacement, gv_pLAYER_02_DOMINION2, PointFromId(2));
gv_startingDrone = UnitLastCreated();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:10411
UnitSetPropertyFixed(gv_kERRIGAN, c_unitPropMovementSpeed, 1.75);
UnitSetState(gv_kERRIGAN, c_unitStateFidget, false);
UnitSetTeamColorIndex(UnitLastCreated(), 6);
auto4B8EC178_g = UnitGroup(null, c_playerAny, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
auto4B8EC178_u = UnitGroupCount(auto4B8EC178_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:1044
gv_kerrigan = UnitFromId(8);
libSwaC_gf_RegisterCampaignKerrigan(gv_kerrigan);
UnitSetTeamColorIndex(gv_kerrigan, 6);
libSwaC_gf_SetHeroPanelUnit(1, gv_kerrigan);
UnitMagazineArm(gv_kerrigan, AbilityCommand("RaynorLabMagazine", 0), 1);