# Set Unit State
Grammar — Turn unit state state value|On/Off
Flags —Native
|Action
Sets a unit’s state.
# Arguments
unit
— Unitint
<preset::unitState2> — Statebool
<preset::OnOffOption> — Value
Returns — void
native void UnitSetState(
unit inUnit,
int inState,
bool inVal,
);
# 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:2722
// Implementation
UnitSetState(lp_unit, c_unitStateHighlightable, false);
UnitSetState(lp_unit, c_unitStateCursorable, false);
UnitSetState(lp_unit, c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2723
// Implementation
UnitSetState(lp_unit, c_unitStateHighlightable, false);
UnitSetState(lp_unit, c_unitStateCursorable, false);
UnitSetState(lp_unit, c_unitStateSelectable, false);
UnitSetState(lp_unit, c_unitStateStatusBar, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2724
UnitSetState(lp_unit, c_unitStateHighlightable, false);
UnitSetState(lp_unit, c_unitStateCursorable, false);
UnitSetState(lp_unit, c_unitStateSelectable, false);
UnitSetState(lp_unit, c_unitStateStatusBar, false);
UnitSetState(lp_unit, c_unitStateTooltipable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2725
UnitSetState(lp_unit, c_unitStateCursorable, false);
UnitSetState(lp_unit, c_unitStateSelectable, false);
UnitSetState(lp_unit, c_unitStateStatusBar, false);
UnitSetState(lp_unit, c_unitStateTooltipable, false);
UnitSetState(lp_unit, c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2726
UnitSetState(lp_unit, c_unitStateSelectable, false);
UnitSetState(lp_unit, c_unitStateStatusBar, false);
UnitSetState(lp_unit, c_unitStateTooltipable, false);
UnitSetState(lp_unit, c_unitStateTargetable, false);
UnitSetPropertyFixed(lp_unit, c_unitPropHeight, gv_c_PlaneHeight);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2727
UnitSetState(lp_unit, c_unitStateStatusBar, false);
UnitSetState(lp_unit, c_unitStateTooltipable, false);
UnitSetState(lp_unit, c_unitStateTargetable, false);
UnitSetPropertyFixed(lp_unit, c_unitPropHeight, gv_c_PlaneHeight);
UnitBehaviorAdd(lp_unit, "SS_MaxAcceleration", lp_unit, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2897
UnitCreate(1, lp_type, 0, gv_p0_NEUTRAL, lp_pos, libNtve_gf_RandomAngle());
UnitGroupAdd(gv_powerups, UnitLastCreated());
UnitSetState(UnitLastCreated(), c_unitStateHighlightable, false);
UnitSetState(UnitLastCreated(), c_unitStateCursorable, false);
UnitSetState(UnitLastCreated(), c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2898
UnitGroupAdd(gv_powerups, UnitLastCreated());
UnitSetState(UnitLastCreated(), c_unitStateHighlightable, false);
UnitSetState(UnitLastCreated(), c_unitStateCursorable, false);
UnitSetState(UnitLastCreated(), c_unitStateSelectable, false);
UnitSetState(UnitLastCreated(), c_unitStateStatusBar, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2899
UnitSetState(UnitLastCreated(), c_unitStateHighlightable, false);
UnitSetState(UnitLastCreated(), c_unitStateCursorable, false);
UnitSetState(UnitLastCreated(), c_unitStateSelectable, false);
UnitSetState(UnitLastCreated(), c_unitStateStatusBar, false);
UnitSetState(UnitLastCreated(), c_unitStateTooltipable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2900
UnitSetState(UnitLastCreated(), c_unitStateCursorable, false);
UnitSetState(UnitLastCreated(), c_unitStateSelectable, false);
UnitSetState(UnitLastCreated(), c_unitStateStatusBar, false);
UnitSetState(UnitLastCreated(), c_unitStateTooltipable, false);
UnitSetState(UnitLastCreated(), c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:326
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
UnitIssueOrder(lv_randomHut, OrderTargetingPoint(null, PointFromId(856)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:682
UnitSetInfoText(UnitFromId(612), StringExternal("Param/Value/BBBEF04A"), StringExternal("Param/Value/9A8CF471"), StringToText(""));
UnitSetInfoText(UnitFromId(397), StringExternal("Param/Value/D4F6CA10"), StringExternal("Param/Value/5AFC2D08"), StringToText(""));
UnitSetState(UnitFromId(612), c_unitStateTargetable, false);
UnitSetState(UnitFromId(2010), c_unitStateTargetable, false);
UnitSetState(UnitFromId(397), c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:683
UnitSetInfoText(UnitFromId(397), StringExternal("Param/Value/D4F6CA10"), StringExternal("Param/Value/5AFC2D08"), StringToText(""));
UnitSetState(UnitFromId(612), c_unitStateTargetable, false);
UnitSetState(UnitFromId(2010), c_unitStateTargetable, false);
UnitSetState(UnitFromId(397), c_unitStateTargetable, false);
UnitSetPropertyFixed(UnitFromId(1774), c_unitPropLifePercent, 42.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:684
UnitSetState(UnitFromId(612), c_unitStateTargetable, false);
UnitSetState(UnitFromId(2010), c_unitStateTargetable, false);
UnitSetState(UnitFromId(397), c_unitStateTargetable, false);
UnitSetPropertyFixed(UnitFromId(1774), c_unitPropLifePercent, 42.0);
UnitSetPropertyFixed(UnitFromId(2097), c_unitPropLifePercent, 34.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1018
UnitIssueOrder(UnitFromId(290), OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), PointFromId(2157)), c_orderQueueReplace);
libNtve_gf_MakeUnitUncommandable(UnitFromId(290), true);
UnitSetState(UnitFromId(290), c_unitStateTargetable, false);
while (!(((UnitGroupCount(UnitCargoGroup(UnitFromId(290)), c_unitCountAlive) == 0) || (UnitIsAlive(UnitFromId(290)) == false)))) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1325
gv_crazyRidley = UnitLastCreated();
UnitSetTeamColorIndex(UnitLastCreated(), 10);
UnitSetState(UnitLastCreated(), c_unitStateTargetable, true);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(161)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(8)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3819
lv_unit = gv_blastOffShip;
if ((gv_inCinematic == false)) {
UnitSetState(lv_unit, c_unitStateSelectable, false);
UnitSetState(lv_unit, c_unitStateStatusBar, false);
UnitSetState(lv_unit, c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3820
if ((gv_inCinematic == false)) {
UnitSetState(lv_unit, c_unitStateSelectable, false);
UnitSetState(lv_unit, c_unitStateStatusBar, false);
UnitSetState(lv_unit, c_unitStateTargetable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3821
UnitSetState(lv_unit, c_unitStateSelectable, false);
UnitSetState(lv_unit, c_unitStateStatusBar, false);
UnitSetState(lv_unit, c_unitStateTargetable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3825
libNtve_gf_MakeUnitInvulnerable(lv_unit, true);
UnitSetState(lv_unit, c_unitStateSelectable, false);
UnitSetState(lv_unit, c_unitStateTargetable, false);
UnitSetState(lv_unit, c_unitStateHighlightable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:641
auto542B3ECA_var = UnitGroupUnitFromEnd(auto542B3ECA_g, auto542B3ECA_u);
if (auto542B3ECA_var == null) { break; }
UnitSetState(auto542B3ECA_var, c_unitStateTargetable, false);
}
auto28CECA96_g = UnitGroup("Biodome", gv_pLAYER05_COLONISTSTRUCTURES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:648
auto28CECA96_var = UnitGroupUnitFromEnd(auto28CECA96_g, auto28CECA96_u);
if (auto28CECA96_var == null) { break; }
UnitSetState(auto28CECA96_var, c_unitStateTargetable, false);
}
autoD79C4196_g = UnitGroup("BiodomeHalfBuilt", gv_pLAYER05_COLONISTSTRUCTURES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:655
autoD79C4196_var = UnitGroupUnitFromEnd(autoD79C4196_g, autoD79C4196_u);
if (autoD79C4196_var == null) { break; }
UnitSetState(autoD79C4196_var, c_unitStateTargetable, false);
}
autoC2C6AB81_g = UnitGroup("Hut", gv_pLAYER05_COLONISTSTRUCTURES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:662
autoC2C6AB81_var = UnitGroupUnitFromEnd(autoC2C6AB81_g, autoC2C6AB81_u);
if (autoC2C6AB81_var == null) { break; }
UnitSetState(autoC2C6AB81_var, c_unitStateTargetable, false);
}
auto1BA5B4A7_g = UnitGroup("InfestedMercHaven", gv_pLAYER05_COLONISTSTRUCTURES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:669
auto1BA5B4A7_var = UnitGroupUnitFromEnd(auto1BA5B4A7_g, auto1BA5B4A7_u);
if (auto1BA5B4A7_var == null) { break; }
UnitSetState(auto1BA5B4A7_var, c_unitStateTargetable, false);
}
auto9A549C26_g = UnitGroup("DumpTruck", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3202
UnitSelect(lv_colonistShip, gv_pLAYER01_USER, false);
libNtve_gf_MakeUnitInvulnerable(lv_colonistShip, true);
UnitSetState(lv_colonistShip, c_unitStateCursorable, false);
UnitSetState(lv_colonistShip, c_unitStateHighlightable, false);
UnitSetState(lv_colonistShip, c_unitStateHighlighted, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3203
libNtve_gf_MakeUnitInvulnerable(lv_colonistShip, true);
UnitSetState(lv_colonistShip, c_unitStateCursorable, false);
UnitSetState(lv_colonistShip, c_unitStateHighlightable, false);
UnitSetState(lv_colonistShip, c_unitStateHighlighted, false);
UnitSetState(lv_colonistShip, c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3204
UnitSetState(lv_colonistShip, c_unitStateCursorable, false);
UnitSetState(lv_colonistShip, c_unitStateHighlightable, false);
UnitSetState(lv_colonistShip, c_unitStateHighlighted, false);
UnitSetState(lv_colonistShip, c_unitStateSelectable, false);
UnitSetState(lv_colonistShip, c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3205
UnitSetState(lv_colonistShip, c_unitStateHighlightable, false);
UnitSetState(lv_colonistShip, c_unitStateHighlighted, false);
UnitSetState(lv_colonistShip, c_unitStateSelectable, false);
UnitSetState(lv_colonistShip, c_unitStateTargetable, false);
UnitSetState(lv_colonistShip, c_unitStateTooltipable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3206
UnitSetState(lv_colonistShip, c_unitStateHighlighted, false);
UnitSetState(lv_colonistShip, c_unitStateSelectable, false);
UnitSetState(lv_colonistShip, c_unitStateTargetable, false);
UnitSetState(lv_colonistShip, c_unitStateTooltipable, false);
auto8F01F1A3_g = UnitGroup("Colonist", gv_pLAYER03_COLONIST, RegionFromId(11), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:364
UnitSetCustomValue(gv_infestationVirophageUnit[lp_colonyIndex], 1, IntToFixed(lp_colonyIndex));
UnitSetInfoText(gv_infestationVirophageUnit[lp_colonyIndex], StringToText(""), StringExternal("Param/Value/8ABD065E"), StringExternal("Param/Value/E1028619"));
UnitSetState(gv_infestationVirophageUnit[lp_colonyIndex], c_unitStateTooltipable, true);
}
gv_infestationOverlordCount[lp_colonyIndex] = 0;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1062
auto8A971C58_var = UnitGroupUnitFromEnd(auto8A971C58_g, auto8A971C58_u);
if (auto8A971C58_var == null) { break; }
UnitSetState(auto8A971C58_var, c_unitStateTargetable, false);
}
auto38B5833A_g = UnitGroup(null, gv_p05_COLONIST, RegionFromId(15), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1070
if (auto38B5833A_var == null) { break; }
UnitBehaviorAddPlayer(auto38B5833A_var, "ColonyInfestation", gv_p02_ZERG_EAST, 1);
UnitSetState(auto38B5833A_var, c_unitStateTargetable, true);
}
auto97EF4C11_g = UnitGroup(null, gv_p05_COLONIST, RegionFromId(31), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1078
if (auto97EF4C11_var == null) { break; }
UnitBehaviorAddPlayer(auto97EF4C11_var, "ColonyInfestation", gv_p04_ZERG_NORTH, 1);
UnitSetState(auto97EF4C11_var, c_unitStateTargetable, true);
}
auto0B898AD1_g = UnitGroup(null, gv_p05_COLONIST, RegionFromId(32), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1086
if (auto0B898AD1_var == null) { break; }
UnitBehaviorAddPlayer(auto0B898AD1_var, "ColonyInfestation", gv_p08_ZERG_SOUTH, 1);
UnitSetState(auto0B898AD1_var, c_unitStateTargetable, true);
}
UnitBehaviorRemove(UnitFromId(1070), "SpawnLarva", 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1513
UnitForceStatusBar(EventUnitProgressUnit(), true);
UnitSetInfoText(EventUnitProgressUnit(), StringToText(""), StringExternal("Param/Value/55694EB6"), StringExternal("Param/Value/A5396465"));
UnitSetState(EventUnitProgressUnit(), c_unitStateTooltipable, true);
VisRevealerCreate(gv_p01_USER, gv_infestationRegion[lv_colonyIndex]);
gv_infestationRevealer[lv_colonyIndex] = VisRevealerLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1571
UnitForceStatusBar(EventUnitProgressUnit(), false);
UnitSetInfoText(EventUnitProgressUnit(), StringToText(""), StringExternal("Param/Value/3096EE9E"), StringExternal("Param/Value/E181F205"));
UnitSetState(EventUnitProgressUnit(), c_unitStateTooltipable, true);
gv_tEMP_ColonyIndex = lv_colonyIndex;
TriggerExecute(gt_PlayInfestedWarningQ, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1589
UnitSetOwner(lv_colonyStructure, gv_p03_VIROPHAGE, true);
UnitBehaviorAdd(lv_colonyStructure, "ColonyInfestation", gv_infestationVirophageUnit[lv_colonyIndex], 1);
UnitSetState(lv_colonyStructure, c_unitStateTargetable, true);
}
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3979
gv_briefingZergling = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "Feederling", 0, gv_p08_ZERG_SOUTH, PointFromId(1073));
UnitSetState(UnitLastCreated(), c_unitStateSelectable, false);
lv_feederling = UnitLastCreated();
auto672F56D9_g = UnitGroup("Overlord", c_playerAny, RegionFromId(52), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4274
for (auto6B751010_i = 1; auto6B751010_i <= auto6B751010_n; auto6B751010_i += 1) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Feederling", 0, gv_p07_ZERG_INFESTED, RegionRandomPoint(RegionFromId(9)));
UnitSetState(UnitLastCreated(), c_unitStateSelectable, false);
}
for (auto1E968291_i = 1; auto1E968291_i <= auto1E968291_n; auto1E968291_i += 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:786
if (auto79C99746_var == null) { break; }
UnitSetInfoText(auto79C99746_var, StringExternal("Param/Value/7827FD7F"), StringExternal("Param/Value/C07F9ABA"), StringToText(""));
UnitSetState(auto79C99746_var, c_unitStateTooltipable, true);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:950
if (auto4E88CFC0_var == null) { break; }
UnitSetInfoText(auto4E88CFC0_var, StringExternal("Param/Value/68DBCADA"), StringExternal("Param/Value/B175DB47"), StringToText(""));
UnitSetState(auto4E88CFC0_var, c_unitStateTooltipable, true);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:256
// Implementation
UnitSetInfoText(lp_unit, StringExternal("Param/Value/03FAE0EC"), StringExternal("Param/Value/16EA3C4A"), StringExternal("Param/Value/0DF11F79"));
UnitSetState(lp_unit, c_unitStateTooltipable, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:626
if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
UnitSetInfoText(autoA8826E3A_var, StringExternal("Param/Value/57034AFD"), StringExternal("Param/Value/E4C2663E"), StringToText(""));
UnitSetState(autoA8826E3A_var, c_unitStateTooltipable, true);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:452
libNtve_gf_MakeUnitInvulnerable(UnitFromId(109), true);
libNtve_gf_MakeUnitUncommandable(UnitFromId(109), true);
UnitSetState(UnitFromId(109), c_unitStateCursorable, false);
UnitSetState(UnitFromId(109), c_unitStateHighlightable, false);
UnitSetState(UnitFromId(109), c_unitStateHighlighted, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:453
libNtve_gf_MakeUnitUncommandable(UnitFromId(109), true);
UnitSetState(UnitFromId(109), c_unitStateCursorable, false);
UnitSetState(UnitFromId(109), c_unitStateHighlightable, false);
UnitSetState(UnitFromId(109), c_unitStateHighlighted, false);
UnitSetState(UnitFromId(109), c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:454
UnitSetState(UnitFromId(109), c_unitStateCursorable, false);
UnitSetState(UnitFromId(109), c_unitStateHighlightable, false);
UnitSetState(UnitFromId(109), c_unitStateHighlighted, false);
UnitSetState(UnitFromId(109), c_unitStateSelectable, false);
UnitSetState(UnitFromId(109), c_unitStateStatusBar, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:455
UnitSetState(UnitFromId(109), c_unitStateHighlightable, false);
UnitSetState(UnitFromId(109), c_unitStateHighlighted, false);
UnitSetState(UnitFromId(109), c_unitStateSelectable, false);
UnitSetState(UnitFromId(109), c_unitStateStatusBar, false);
UnitSetState(UnitFromId(109), c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:456
UnitSetState(UnitFromId(109), c_unitStateHighlighted, false);
UnitSetState(UnitFromId(109), c_unitStateSelectable, false);
UnitSetState(UnitFromId(109), c_unitStateStatusBar, false);
UnitSetState(UnitFromId(109), c_unitStateTargetable, false);
UnitSetState(UnitFromId(109), c_unitStateTooltipable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:457
UnitSetState(UnitFromId(109), c_unitStateSelectable, false);
UnitSetState(UnitFromId(109), c_unitStateStatusBar, false);
UnitSetState(UnitFromId(109), c_unitStateTargetable, false);
UnitSetState(UnitFromId(109), c_unitStateTooltipable, false);
UnitCargoCreate(UnitFromId(80), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:458
UnitSetState(UnitFromId(109), c_unitStateStatusBar, false);
UnitSetState(UnitFromId(109), c_unitStateTargetable, false);
UnitSetState(UnitFromId(109), c_unitStateTooltipable, false);
UnitCargoCreate(UnitFromId(80), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
UnitCargoCreate(UnitFromId(175), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:949
if (auto604BE6FC_var == null) { break; }
libNtve_gf_MakeUnitInvulnerable(auto604BE6FC_var, true);
UnitSetState(auto604BE6FC_var, c_unitStateHighlightable, false);
UnitSetState(auto604BE6FC_var, c_unitStateHighlighted, false);
UnitSetState(auto604BE6FC_var, c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:950
libNtve_gf_MakeUnitInvulnerable(auto604BE6FC_var, true);
UnitSetState(auto604BE6FC_var, c_unitStateHighlightable, false);
UnitSetState(auto604BE6FC_var, c_unitStateHighlighted, false);
UnitSetState(auto604BE6FC_var, c_unitStateTargetable, false);
UnitSetState(auto604BE6FC_var, c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:951
UnitSetState(auto604BE6FC_var, c_unitStateHighlightable, false);
UnitSetState(auto604BE6FC_var, c_unitStateHighlighted, false);
UnitSetState(auto604BE6FC_var, c_unitStateTargetable, false);
UnitSetState(auto604BE6FC_var, c_unitStateSelectable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:952
UnitSetState(auto604BE6FC_var, c_unitStateHighlighted, false);
UnitSetState(auto604BE6FC_var, c_unitStateTargetable, false);
UnitSetState(auto604BE6FC_var, c_unitStateSelectable, false);
}
autoB1D9B05D_g = UnitGroup(null, gv_p02_DOMINION_INFANTRY, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2813
libNtve_gf_CreateUnitsAtPoint2(1, "SpecialOpsDropship", c_unitCreateIgnorePlacement, gv_p07_HORNERBASE, PointFromId(1412));
lv_dropship = UnitLastCreated();
UnitSetState(lv_dropship, c_unitStateSelectable, true);
libNtve_gf_MakeUnitInvulnerable(lv_dropship, true);
libNtve_gf_CreateUnitsAtPoint2(1, "Thor", c_unitCreateIgnorePlacement, gv_p07_HORNERBASE, PointFromId(1412));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:816
autoC18DB74C_var = UnitGroupUnitFromEnd(autoC18DB74C_g, autoC18DB74C_u);
if (autoC18DB74C_var == null) { break; }
UnitSetState(autoC18DB74C_var, c_unitStateTooltipable, true);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:890
libNtve_gf_CreateUnitsAtPoint2(1, "Warbot", 0, gv_p07_NEUTRAL, PointFromId(165));
gv_warbot = UnitLastCreated();
UnitSetState(gv_warbot, c_unitStateFidget, false);
gf_SetUnitMaxStats(gv_warbot, 0.0, 1500.0);
UnitSetState(gv_warbot, c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:892
UnitSetState(gv_warbot, c_unitStateFidget, false);
gf_SetUnitMaxStats(gv_warbot, 0.0, 1500.0);
UnitSetState(gv_warbot, c_unitStateTargetable, false);
libNtve_gf_MakeUnitInvulnerable(gv_warbot, true);
libNtve_gf_PauseUnit(gv_warbot, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:897
UnitBehaviorRemove(gv_warbot, "WarbotFate", 1);
UnitSetPropertyFixed(UnitFromId(68), c_unitPropEnergyPercent, 100.0);
UnitSetState(UnitFromId(1488), c_unitStateSelectable, false);
UnitSetState(UnitFromId(1488), c_unitStateStatusBar, false);
UnitSetState(UnitFromId(1488), c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:898
UnitSetPropertyFixed(UnitFromId(68), c_unitPropEnergyPercent, 100.0);
UnitSetState(UnitFromId(1488), c_unitStateSelectable, false);
UnitSetState(UnitFromId(1488), c_unitStateStatusBar, false);
UnitSetState(UnitFromId(1488), c_unitStateTargetable, false);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(162), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:899
UnitSetState(UnitFromId(1488), c_unitStateSelectable, false);
UnitSetState(UnitFromId(1488), c_unitStateStatusBar, false);
UnitSetState(UnitFromId(1488), c_unitStateTargetable, false);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(162), true);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(202), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:908
libNtve_gf_MakeUnitInvulnerable(UnitFromId(421), true);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(427), true);
UnitSetState(UnitFromId(2658), c_unitStateSelectable, false);
UnitSetState(UnitFromId(2658), c_unitStateTargetable, false);
UnitSetState(UnitFromId(898), c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:909
libNtve_gf_MakeUnitInvulnerable(UnitFromId(427), true);
UnitSetState(UnitFromId(2658), c_unitStateSelectable, false);
UnitSetState(UnitFromId(2658), c_unitStateTargetable, false);
UnitSetState(UnitFromId(898), c_unitStateSelectable, false);
UnitSetState(UnitFromId(898), c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:910
UnitSetState(UnitFromId(2658), c_unitStateSelectable, false);
UnitSetState(UnitFromId(2658), c_unitStateTargetable, false);
UnitSetState(UnitFromId(898), c_unitStateSelectable, false);
UnitSetState(UnitFromId(898), c_unitStateTargetable, false);
UnitSetState(UnitFromId(956), c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:911
UnitSetState(UnitFromId(2658), c_unitStateTargetable, false);
UnitSetState(UnitFromId(898), c_unitStateSelectable, false);
UnitSetState(UnitFromId(898), c_unitStateTargetable, false);
UnitSetState(UnitFromId(956), c_unitStateSelectable, false);
UnitSetState(UnitFromId(956), c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:294
// Implementation
gv_riksvillePopulation += 1;
UnitSetState(lp_uNIT, c_unitStateSelectable, false);
UnitSetState(lp_uNIT, c_unitStateTargetable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:295
gv_riksvillePopulation += 1;
UnitSetState(lp_uNIT, c_unitStateSelectable, false);
UnitSetState(lp_uNIT, c_unitStateTargetable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:449
UnitSetPropertyFixed(UnitFromId(110), c_unitPropLifeMax, 150.0);
UnitSetPropertyFixed(UnitFromId(110), c_unitPropLifePercent, 100.0);
UnitSetState(UnitFromId(1726), c_unitStateTargetable, false);
gv_holoboards[1] = UnitFromId(1726);
gv_holoboards[2] = UnitFromId(24);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:461
auto4BD2192F_var = UnitGroupUnitFromEnd(auto4BD2192F_g, auto4BD2192F_u);
if (auto4BD2192F_var == null) { break; }
UnitSetState(auto4BD2192F_var, c_unitStateTargetable, false);
UnitSetState(auto4BD2192F_var, c_unitStateSelectable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:462
if (auto4BD2192F_var == null) { break; }
UnitSetState(auto4BD2192F_var, c_unitStateTargetable, false);
UnitSetState(auto4BD2192F_var, c_unitStateSelectable, false);
}
autoF0581A9B_g = UnitGroup(null, gv_p3_RIKSVILLE_YELLOW, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:469
autoF0581A9B_var = UnitGroupUnitFromEnd(autoF0581A9B_g, autoF0581A9B_u);
if (autoF0581A9B_var == null) { break; }
UnitSetState(autoF0581A9B_var, c_unitStateTargetable, false);
UnitSetState(autoF0581A9B_var, c_unitStateSelectable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:470
if (autoF0581A9B_var == null) { break; }
UnitSetState(autoF0581A9B_var, c_unitStateTargetable, false);
UnitSetState(autoF0581A9B_var, c_unitStateSelectable, false);
}
auto318DD5C1_g = UnitGroup("Civilian", gv_p3_RIKSVILLE_YELLOW, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:550
for ( ; ( (auto6F9A61B6_ai >= 0 && lv_iNT <= auto6F9A61B6_ae) || (auto6F9A61B6_ai < 0 && lv_iNT >= auto6F9A61B6_ae) ) ; lv_iNT += auto6F9A61B6_ai ) {
UnitSetInfoText(gv_holoboards[lv_iNT], StringExternal("Param/Value/BAF13DE0"), StringExternal("Param/Value/360B1B8E"), StringToText(""));
UnitSetState(gv_holoboards[lv_iNT], c_unitStateTooltipable, true);
}
UnitSetInfoText(UnitFromId(105), StringExternal("Param/Value/109B7653"), StringToText(""), StringToText(""));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1825
if (auto36165784_var == null) { break; }
UnitSetInfoText(auto36165784_var, StringToText(""), StringExternal("Param/Value/4925FF9B"), StringToText(""));
UnitSetState(auto36165784_var, c_unitStateTooltipable, true);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4832
UnitCreate(1, "Raven", 0, gv_p2_DOMINION_RED, PointFromId(2439), 225.0);
lv_crosshairUnit = UnitLastCreated();
UnitSetState(lv_crosshairUnit, c_unitStateHidden, true);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(2273), 0.0, -1, 10, true);
Wait(0.1, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:249
if (auto08BE992F_val == "CommandCenter") {
UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/E64A5DCD"), StringExternal("Param/Value/5F57FEAF"), StringExternal("Param/Value/8BC6DA5C"));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else if (auto08BE992F_val == "Barracks") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:253
else if (auto08BE992F_val == "Barracks") {
UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/082D660C"), StringExternal("Param/Value/3DED6760"), StringExternal("Param/Value/315FAFA9"));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else if (auto08BE992F_val == "SupplyDepot") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:257
else if (auto08BE992F_val == "SupplyDepot") {
UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/4FEBF75F"), StringExternal("Param/Value/67C1B22E"), StringExternal("Param/Value/C9F1F8E6"));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else if (auto08BE992F_val == "SupplyDepotLowered") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:261
else if (auto08BE992F_val == "SupplyDepotLowered") {
UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/7AD4780A"), StringExternal("Param/Value/B469D2B4"), StringExternal("Param/Value/436ADBC9"));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else if (auto08BE992F_val == "SCV") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:265
else if (auto08BE992F_val == "SCV") {
UnitSetInfoText(lp_chosenUnit, StringToText(""), StringExternal("Param/Value/A3A30B03"), StringToText(""));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else if (auto08BE992F_val == "Medic") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:269
else if (auto08BE992F_val == "Medic") {
UnitSetInfoText(lp_chosenUnit, StringToText(""), StringExternal("Param/Value/D2FCCA4E"), StringToText(""));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else if (auto08BE992F_val == "MineralField") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:273
else if (auto08BE992F_val == "MineralField") {
UnitSetInfoText(lp_chosenUnit, StringToText(""), StringExternal("Param/Value/D2CA8D27"), StringExternal("Param/Value/EBDA9E89"));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else if (auto08BE992F_val == "VespeneGeyser") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:277
else if (auto08BE992F_val == "VespeneGeyser") {
UnitSetInfoText(lp_chosenUnit, StringToText(""), StringExternal("Param/Value/0C325DA5"), StringExternal("Param/Value/29F1550E"));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else if (auto08BE992F_val == "Beacon_Terran") {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:282
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/6C1DC930"), StringExternal("Param/Value/E355EE50"), StringToText(""));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:291
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/29FB49B3"), StringExternal("Param/Value/A4D579C0"), StringExternal("Param/Value/B796C5DF"));
UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:633
libNtve_gf_AttachModelToUnit(UnitFromId(258), "ArtifactPiece1", "Hardpoint");
libNtve_gf_SendActorMessageToUnit(UnitFromId(258), "Signal ArtifactLoaded");
UnitSetState(UnitFromId(258), c_unitStateTargetable, false);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(258), true);
UnitSetPropertyFixed(UnitFromId(795), c_unitPropLifePercent, 85.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:637
UnitSetPropertyFixed(UnitFromId(795), c_unitPropLifePercent, 85.0);
UnitSetPropertyFixed(UnitFromId(796), c_unitPropLifePercent, 89.0);
UnitSetState(UnitFromId(795), c_unitStateTargetable, false);
UnitSetState(UnitFromId(796), c_unitStateTargetable, false);
UnitIssueOrder(UnitFromId(788), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:638
UnitSetPropertyFixed(UnitFromId(796), c_unitPropLifePercent, 89.0);
UnitSetState(UnitFromId(795), c_unitStateTargetable, false);
UnitSetState(UnitFromId(796), c_unitStateTargetable, false);
UnitIssueOrder(UnitFromId(788), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
UnitSetState(UnitFromId(788), c_unitStateTargetable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:640
UnitSetState(UnitFromId(796), c_unitStateTargetable, false);
UnitIssueOrder(UnitFromId(788), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
UnitSetState(UnitFromId(788), c_unitStateTargetable, false);
auto36831936_g = UnitGroup("DestructibleBullhornLights", gv_pLAYER09_COLONISTS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto36831936_u = UnitGroupCount(auto36831936_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1526
TriggerEnable(TriggerGetCurrent(), false);
VisRevealArea(gv_pLAYER01_USER, RegionCircle(UnitGetPosition(UnitFromId(1167)), 5.0), 6.0, false);
UnitSetState(UnitFromId(1167), c_unitStateSelectable, false);
UnitSelect(UnitFromId(1167), gv_pLAYER01_USER, false);
SoundPlay(SoundLink("UI_ChallengeCountdown", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1798
if (auto2F23254E_var == null) { break; }
UnitSetInfoText(auto2F23254E_var, StringToText(""), StringExternal("Param/Value/B8ACA28F"), StringExternal("Param/Value/46206E52"));
UnitSetState(auto2F23254E_var, c_unitStateTooltipable, true);
}
auto09F1738F_g = UnitGroup("EngineeringBay", gv_pLAYER01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1806
if (auto09F1738F_var == null) { break; }
UnitSetInfoText(auto09F1738F_var, StringExternal("Param/Value/92EF22E3"), StringExternal("Param/Value/1EDE9CD3"), StringExternal("Param/Value/53895D62"));
UnitSetState(auto09F1738F_var, c_unitStateTooltipable, true);
}
auto4F0177E9_g = UnitGroup("Bunker", gv_pLAYER01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1814
if (auto4F0177E9_var == null) { break; }
UnitSetInfoText(auto4F0177E9_var, StringExternal("Param/Value/219771E3"), StringToText(""), StringToText(""));
UnitSetState(auto4F0177E9_var, c_unitStateTooltipable, true);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1849
if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
UnitSetInfoText(EventUnitProgressUnit(), StringToText(""), StringExternal("Param/Value/85796E57"), StringExternal("Param/Value/73E2F5FA"));
UnitSetState(EventUnitProgressUnit(), c_unitStateTooltipable, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1856
if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
UnitSetInfoText(EventUnitProgressUnit(), StringExternal("Param/Value/375DF249"), StringExternal("Param/Value/D4649464"), StringExternal("Param/Value/1E2D895D"));
UnitSetState(EventUnitProgressUnit(), c_unitStateTooltipable, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2353
gf_SetUnitClickableLockCount(c_transmissionDurationSub, lp_unit, 1);
if ((gf_GetUnitClickableLockCount(lp_unit) == 0)) {
UnitSetState(lp_unit, c_unitStateHighlightable, true);
UnitSetState(lp_unit, c_unitStateCursorable, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2354
if ((gf_GetUnitClickableLockCount(lp_unit) == 0)) {
UnitSetState(lp_unit, c_unitStateHighlightable, true);
UnitSetState(lp_unit, c_unitStateCursorable, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2360
else {
gf_SetUnitClickableLockCount(c_transmissionDurationAdd, lp_unit, 1);
UnitSetState(lp_unit, c_unitStateHighlightable, false);
UnitSetState(lp_unit, c_unitStateCursorable, false);
libNtve_gf_SendActorMessageToUnit(lp_unit, "HaloStop");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2361
gf_SetUnitClickableLockCount(c_transmissionDurationAdd, lp_unit, 1);
UnitSetState(lp_unit, c_unitStateHighlightable, false);
UnitSetState(lp_unit, c_unitStateCursorable, false);
libNtve_gf_SendActorMessageToUnit(lp_unit, "HaloStop");
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(lp_unit), gv_aNIMID_HIGHLIGHT);