# Name Of Unit Type
Grammar — Name of unitType
Flags —Native
|Function
Returns the name of a unit type.
# Arguments
string
<gamelink::Unit> — Unit Type
Returns — text
native text UnitTypeGetName(string inUnitType);
# 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/thanson02.sc2map/MapScript.galaxy:292
lv_msg = (lv_msg + IntToText(MinI(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade), PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit))) + StringExternal("Param/Value/BEC03128"));
lv_msg = (lv_msg + StringExternal("Param/Value/9B853FD2"));
lv_msg = (lv_msg + UnitTypeGetName(UnitGetType(lp_u)));
lv_msg = (lv_msg + StringExternal("Param/Value/55F22AB1"));
lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropShields, c_unitPropCurrent), 0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:19222
}
UIDisplayMessage(PlayerGroupAll(), c_messageAreaDebug, (StringExternal("Param/Value/13B728CD") + UnitTypeGetName(UnitGetType(EventUnit()))));
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:9074
lv_unittype = UnitGetType(EventUnit());
Wait(2.0, c_timeReal);
libCamp_gf_DisplayCampaignMessage(PlayerGroupAll(), libCamp_ge_CampaignMessageType_MissionFailed, (UnitTypeGetName(lv_unittype) + StringExternal("Param/Value/A29B53C1")), libCamp_ge_CampaignMessageFormatNotFormat_FormatMessage);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerExecute(gt_Defeat, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:292
lv_msg = (lv_msg + IntToText(MinI(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade), PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit))) + StringExternal("Param/Value/BEC03128"));
lv_msg = (lv_msg + StringExternal("Param/Value/9B853FD2"));
lv_msg = (lv_msg + UnitTypeGetName(UnitGetType(lp_u)));
lv_msg = (lv_msg + StringExternal("Param/Value/55F22AB1"));
lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropShields, c_unitPropCurrent), 0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:19222
}
UIDisplayMessage(PlayerGroupAll(), c_messageAreaDebug, (StringExternal("Param/Value/13B728CD") + UnitTypeGetName(UnitGetType(EventUnit()))));
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:9074
lv_unittype = UnitGetType(EventUnit());
Wait(2.0, c_timeReal);
libCamp_gf_DisplayCampaignMessage(PlayerGroupAll(), libCamp_ge_CampaignMessageType_MissionFailed, (UnitTypeGetName(lv_unittype) + StringExternal("Param/Value/A29B53C1")), libCamp_ge_CampaignMessageFormatNotFormat_FormatMessage);
Wait(libCamp_gv_campaignObjectiveDelay, c_timeReal);
TriggerExecute(gt_Defeat, true, false);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3277
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactAdjutantConfederate, StringExternal("Param/Value/lib_Camp_53EE8195"), "Characters|CharConfederateAdjutant", null);
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactArcturusMengsk, StringExternal("Param/Value/lib_Camp_3A2257C5"), "Characters|CharArcturus", "ArcturusPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactBanshee, UnitTypeGetName("Banshee"), "Characters|CharBanshee", "BansheePortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactBattlecruiser, UnitTypeGetName("Battlecruiser"), "Characters|CharBattlecruiser", "BattlecruiserPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale1, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale1", "FemaleCivilian1Portrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3278
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactArcturusMengsk, StringExternal("Param/Value/lib_Camp_3A2257C5"), "Characters|CharArcturus", "ArcturusPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactBanshee, UnitTypeGetName("Banshee"), "Characters|CharBanshee", "BansheePortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactBattlecruiser, UnitTypeGetName("Battlecruiser"), "Characters|CharBattlecruiser", "BattlecruiserPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale1, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale1", "FemaleCivilian1Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale2, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale2", "FemaleCivilian2Portrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3279
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactBanshee, UnitTypeGetName("Banshee"), "Characters|CharBanshee", "BansheePortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactBattlecruiser, UnitTypeGetName("Battlecruiser"), "Characters|CharBattlecruiser", "BattlecruiserPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale1, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale1", "FemaleCivilian1Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale2, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale2", "FemaleCivilian2Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale1, UnitTypeGetName("Civilian"), "Characters|CharCivilian1", "MaleCivilian1Portrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3280
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactBattlecruiser, UnitTypeGetName("Battlecruiser"), "Characters|CharBattlecruiser", "BattlecruiserPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale1, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale1", "FemaleCivilian1Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale2, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale2", "FemaleCivilian2Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale1, UnitTypeGetName("Civilian"), "Characters|CharCivilian1", "MaleCivilian1Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale2, UnitTypeGetName("Civilian"), "Characters|CharCivilian2", "MaleCivilian2Portrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3281
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale1, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale1", "FemaleCivilian1Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale2, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale2", "FemaleCivilian2Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale1, UnitTypeGetName("Civilian"), "Characters|CharCivilian1", "MaleCivilian1Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale2, UnitTypeGetName("Civilian"), "Characters|CharCivilian2", "MaleCivilian2Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactGoliathMercenary, UnitTypeGetName("Goliath"), "Characters|CharGoliath", "GoliathPortrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3282
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianFemale2, UnitTypeGetName("CivilianFemale"), "Characters|CharCivilianFemale2", "FemaleCivilian2Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale1, UnitTypeGetName("Civilian"), "Characters|CharCivilian1", "MaleCivilian1Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale2, UnitTypeGetName("Civilian"), "Characters|CharCivilian2", "MaleCivilian2Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactGoliathMercenary, UnitTypeGetName("Goliath"), "Characters|CharGoliath", "GoliathPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHanson, StringExternal("Param/Value/lib_Camp_C9310C87"), "Characters|CharHanson", "HansonPortrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3283
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale1, UnitTypeGetName("Civilian"), "Characters|CharCivilian1", "MaleCivilian1Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactCivilianMale2, UnitTypeGetName("Civilian"), "Characters|CharCivilian2", "MaleCivilian2Portrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactGoliathMercenary, UnitTypeGetName("Goliath"), "Characters|CharGoliath", "GoliathPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHanson, StringExternal("Param/Value/lib_Camp_C9310C87"), "Characters|CharHanson", "HansonPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHellion, UnitTypeGetName("Jackal"), "Characters|CharHellion", "JackalPortrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3285
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactGoliathMercenary, UnitTypeGetName("Goliath"), "Characters|CharGoliath", "GoliathPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHanson, StringExternal("Param/Value/lib_Camp_C9310C87"), "Characters|CharHanson", "HansonPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHellion, UnitTypeGetName("Jackal"), "Characters|CharHellion", "JackalPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHighTemplar, UnitTypeGetName("HighTemplar"), "Characters|CharHighTemplar", "HighTemplarPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHorner, StringExternal("Param/Value/lib_Camp_5289F428"), "Characters|CharHorner", "HornerPortrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3286
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHanson, StringExternal("Param/Value/lib_Camp_C9310C87"), "Characters|CharHanson", "HansonPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHellion, UnitTypeGetName("Jackal"), "Characters|CharHellion", "JackalPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHighTemplar, UnitTypeGetName("HighTemplar"), "Characters|CharHighTemplar", "HighTemplarPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHorner, StringExternal("Param/Value/lib_Camp_5289F428"), "Characters|CharHorner", "HornerPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactKerrigan, StringExternal("Param/Value/lib_Camp_C3449B56"), "Characters|CharKerrigan", "KerriganPortrait");
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:3289
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactHorner, StringExternal("Param/Value/lib_Camp_5289F428"), "Characters|CharHorner", "HornerPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactKerrigan, StringExternal("Param/Value/lib_Camp_C3449B56"), "Characters|CharKerrigan", "KerriganPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactMarine, UnitTypeGetName("Marine"), "Characters|CharMarine", "MarinePortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactMedic, UnitTypeGetName("Medic"), "Characters|CharMedic", "MedicPortrait");
libCamp_gf_TS_InitializeContactDataSingle(libCamp_ge_ContactID_ContactMedivac, UnitTypeGetName("Dropship"), "Characters|CharMedivac", "MedivacPortrait");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:312
autoA80D3956_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoA80D3956_val == "SpineCrawler") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/16AF1750"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/7E7EBEC7"));
}
else if (autoA80D3956_val == "SpineCrawlerUprooted") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:315
}
else if (autoA80D3956_val == "SpineCrawlerUprooted") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/46C99FA4"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/C41A47E9"));
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:870
libSwaC_gf_SetHatcheryRallyPoint(UnitFromId(1), PointFromId(636));
if ((libSwaC_gf_MissionStatusCheck("ZExpedition1", libSwaC_ge_MissionStatus_Completed) == false)) {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(UnitFromId(1627), StringExternal("Param/Value/F11773C2"), UnitTypeGetName(UnitGetType(UnitFromId(1627))), StringExternal("Param/Value/73C1D0BE"));
UnitSetState(UnitFromId(1627), c_unitStateTooltipable, true);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:954
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);
gv_scourgeNestGroup = UnitGroup("ZergTowerArtillery", gv_pLAYER_05_DEAD_NEST, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoBBD51A65_g = gv_scourgeNestGroup;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:539
autoDAA6B44E_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoDAA6B44E_val == "SpineCrawler") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/1C004C23"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/5F1DB332"));
}
else if (autoDAA6B44E_val == "SpineCrawlerUprooted") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:542
}
else if (autoDAA6B44E_val == "SpineCrawlerUprooted") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/78300F83"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/155903C2"));
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:1215
libSwaC_gf_ZerglingRespawnSetPrimaryHatchery(UnitFromId(37));
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true)) {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(UnitFromId(148), StringExternal("Param/Value/CC0F95E0"), UnitTypeGetName(UnitGetType(UnitFromId(148))), StringExternal("Param/Value/964AE21C"));
UnitSetState(UnitFromId(148), c_unitStateTooltipable, true);
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("SporeCrawlerRoot", 0), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1656
libNtve_gf_ShowHideUnit(autoA9E1CE21_var, true);
if ((GameCheatsEnabled(c_gameCheatCategoryDevelopment) == true) && (VisIsVisibleForPlayer(gv_pLAYER_01_USER, UnitGetPosition(autoA9E1CE21_var)) == true)) {
TextExpressionSetToken("Param/Expression/D7D06247", "A", UnitTypeGetName(UnitGetType(autoA9E1CE21_var)));
TextExpressionSetToken("Param/Expression/D7D06247", "B", FixedToText(PointGetX(UnitGetPosition(autoA9E1CE21_var)), 1));
TextExpressionSetToken("Param/Expression/D7D06247", "C", FixedToText(PointGetY(UnitGetPosition(autoA9E1CE21_var)), 1));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1729
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\btn-hero-kerriganqueenofblades.dds", PlayerGroupAll());
DialogControlHookup(gv_nullZoneBarPanel, c_triggerControlTypeLabel, "LeftNameLabel");
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), UnitTypeGetName(UnitGetType(gv_kerrigan)), PlayerGroupAll());
DialogControlHookup(gv_nullZoneBarPanel, c_triggerControlTypeImage, "RightIconImage");
gv_nullZoneBarPortraitNarud = DialogControlLastCreated();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1734
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\btn-boss-narud.dds", PlayerGroupAll());
DialogControlHookup(gv_nullZoneBarPanel, c_triggerControlTypeLabel, "RightNameLabel");
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), UnitTypeGetName(UnitGetType(gv_kerrigan2)), PlayerGroupAll());
DialogControlSetVisible(gv_nullZoneBarPanel, PlayerGroupAll(), true);
TriggerExecute(gt_UpdateTugWarBar, true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:1159
UnitGroupRemove(gv_perfPausedUnits[lv_index], auto40B40B33_var);
if ((GameCheatsEnabled(c_gameCheatCategoryDevelopment) == true) && (VisIsVisibleForPlayer(gv_PLAYER_01_USER, UnitGetPosition(auto40B40B33_var)) == true)) {
TextExpressionSetToken("Param/Expression/771E00B5", "A", UnitTypeGetName(UnitGetType(auto40B40B33_var)));
TextExpressionSetToken("Param/Expression/771E00B5", "B", FixedToText(PointGetX(UnitGetPosition(auto40B40B33_var)), 1));
TextExpressionSetToken("Param/Expression/771E00B5", "C", FixedToText(PointGetY(UnitGetPosition(auto40B40B33_var)), 1));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:581
autoD12EAE3B_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoD12EAE3B_val == "Hatchery") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/E049AB2F"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/32D6E1FD"));
}
else if (autoD12EAE3B_val == "SpawningPool") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:584
}
else if (autoD12EAE3B_val == "SpawningPool") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/BD6E8965"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/0C4F06A1"));
}
else if (autoD12EAE3B_val == "Drone") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:587
}
else if (autoD12EAE3B_val == "Drone") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/9AF9F30D"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/32569246"));
}
else if (autoD12EAE3B_val == "Larva") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:590
}
else if (autoD12EAE3B_val == "Larva") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/90E10556"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/BE485445"));
}
else if (autoD12EAE3B_val == "Overlord") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:593
}
else if (autoD12EAE3B_val == "Overlord") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/40692F08"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/3282DFC4"));
}
else if (autoD12EAE3B_val == "Egg") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:596
}
else if (autoD12EAE3B_val == "Egg") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/4B3162DC"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/E039B724"));
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:610
libNtve_gf_RescueUnit(lp_cHOSEN_UNIT, gv_pLAYER_01_USER, true);
UnitIssueOrder(lp_cHOSEN_UNIT, OrderTargetingPoint(AbilityCommand("attack", 0), lp_tARGET_POINT), c_orderQueueReplace);
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:956
if ((UnitIsAlive(lp_spawner) == true) && (gv_zergAreInRoom06 == true) && (UnitGroupCount(UnitGroup("UmojanLabMicrobot", gv_pLAYER_02_DOMINION3, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < lp_limit) && (UnitIsAlive(gv_eRADICATOR) == true)) {
libNtve_gf_CreateUnitsAtPoint2(1, "UmojanLabMicrobot", 0, lp_whichPlayer, lp_spawnAt);
libSwaC_gf_SetUnitInfoTextCampaign(UnitLastCreated(), null, UnitTypeGetName(UnitGetType(UnitLastCreated())), null);
UnitBehaviorAdd(UnitLastCreated(), "ScanRangeBonus", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), lp_attackTo), c_orderQueueReplace);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:1259
auto3C76BEA1_var = UnitGroupUnitFromEnd(auto3C76BEA1_g, auto3C76BEA1_u);
if (auto3C76BEA1_var == null) { break; }
libSwaC_gf_SetUnitInfoTextCampaign(auto3C76BEA1_var, null, UnitTypeGetName(UnitGetType(auto3C76BEA1_var)), null);
}
libSwaC_gf_SetUnitInfoTextCampaign(gv_eRADICATOR, null, UnitTypeGetName(UnitGetType(gv_eRADICATOR)), null);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:1261
libSwaC_gf_SetUnitInfoTextCampaign(auto3C76BEA1_var, null, UnitTypeGetName(UnitGetType(auto3C76BEA1_var)), null);
}
libSwaC_gf_SetUnitInfoTextCampaign(gv_eRADICATOR, null, UnitTypeGetName(UnitGetType(gv_eRADICATOR)), null);
autoA4132EF1_g = UnitGroup("LabTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoA4132EF1_u = UnitGroupCount(autoA4132EF1_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1118
auto8BD12173_var = 1;
for ( ; auto8BD12173_var <= auto8BD12173_ae; auto8BD12173_var += 1 ) {
UnitSetInfoText(gv_s3_TramEngineUnits[auto8BD12173_var], StringToText(""), UnitTypeGetName(UnitGetType(gv_s3_TramEngineUnits[auto8BD12173_var])), StringToText(""));
}
libNtve_gf_MakeUnitInvulnerable(UnitFromId(86), true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1173
}
gv_kerrigan22 = UnitFromId(703);
UnitSetInfoTip(gv_kerrigan22, UnitTypeGetName(UnitGetType(gv_kerrigan22)));
gv_kerrigan222 = UnitFromId(590);
auto5ABDEBA2_g = UnitGroup(null, gv_pLAYER_02_DOMINION, RegionFromId(26), 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:2476
}
UnitSetInfoTip(EventUnit(), UnitTypeGetName(UnitGetType(EventUnit())));
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:636
autoC9DB8A5F_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoC9DB8A5F_val == "Hatchery") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/F605D6F9"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/10565536"));
}
else if (autoC9DB8A5F_val == "SpawningPool") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:639
}
else if (autoC9DB8A5F_val == "SpawningPool") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/35692B69"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/34EF9B3C"));
}
else if (autoC9DB8A5F_val == "EvolutionChamber") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:642
}
else if (autoC9DB8A5F_val == "EvolutionChamber") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/AC797F6F"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/DD3B9EBF"));
}
else if (autoC9DB8A5F_val == "Extractor") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:645
}
else if (autoC9DB8A5F_val == "Extractor") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/07F06757"));
}
else if (autoC9DB8A5F_val == "CreepTumor") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:648
}
else if (autoC9DB8A5F_val == "CreepTumor") {
TextExpressionSetToken("Param/Expression/9B47126B", "A", UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/2AF6BE52"), TextExpressionAssemble("Param/Expression/9B47126B"), StringExternal("Param/Value/E24FDA29"));
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:652
}
else if (autoC9DB8A5F_val == "CreepTumorUsed") {
TextExpressionSetToken("Param/Expression/C058BBAC", "A", UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/83BC878C"), TextExpressionAssemble("Param/Expression/C058BBAC"), StringExternal("Param/Value/2D1B3279"));
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:656
}
else if (autoC9DB8A5F_val == "SpineCrawler") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/CF801334"));
}
else if (autoC9DB8A5F_val == "SpineCrawlerUprooted") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:659
}
else if (autoC9DB8A5F_val == "SpineCrawlerUprooted") {
TextExpressionSetToken("Param/Expression/C71E69E9", "A", UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, TextExpressionAssemble("Param/Expression/C71E69E9"), StringExternal("Param/Value/3D2C1C9A"));
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:663
}
else if (autoC9DB8A5F_val == "SporeCrawler") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/582C9103"));
}
else if (autoC9DB8A5F_val == "SporeCrawlerUprooted") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:666
}
else if (autoC9DB8A5F_val == "SporeCrawlerUprooted") {
TextExpressionSetToken("Param/Expression/5CD0552B", "A", UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, TextExpressionAssemble("Param/Expression/5CD0552B"), StringExternal("Param/Value/096482E9"));
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1402
gv_playerBase = UnitFromId(76);
UnitIssueOrder(gv_playerBase, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
libSwaC_gf_SetUnitInfoTextCampaign(gv_playerBase, null, UnitTypeGetName(UnitGetType(gv_playerBase)), StringExternal("Param/Value/B3553AF2"));
libNtve_gf_ShowHideUnit(gv_playerBase, false);
gv_enemyBase = UnitFromId(5);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:683
VisRevealArea(gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lp_cHOSEN_UNIT), 12.0), 15.0, true);
CameraPan(gv_pLAYER_01_USER, UnitGetPosition(lp_cHOSEN_UNIT), 2.0, -1, 10.0, true);
libSwaC_gf_AttachReticleEffectAndTextTagOnUnit(libSwaC_ge_CampaginReticleType_ZergEnemy, libSwaC_ge_CampaginReticleSize_Medium, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), lp_cHOSEN_UNIT, "Ref_Target");
TextTagSetPosition(TextTagLastCreated(), UnitGetPosition(lp_cHOSEN_UNIT), 1.5);
while (!(((UnitGetPropertyFixed(lp_cHOSEN_UNIT, c_unitPropLifePercent, c_unitPropCurrent) < 100.0) || (UnitIsAlive(lp_cHOSEN_UNIT) == false)))) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:531
autoF650CFE9_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoF650CFE9_val == "Nexus") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/4300C019"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/1ECE4B4E"));
}
else if (autoF650CFE9_val == "Probe") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:534
}
else if (autoF650CFE9_val == "Probe") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/36B9565E"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/DC4AB7F9"));
}
else if (autoF650CFE9_val == "Assimilator") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:537
}
else if (autoF650CFE9_val == "Assimilator") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/C7C1B5CB"));
}
else if (autoF650CFE9_val == "Pylon") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:540
}
else if (autoF650CFE9_val == "Pylon") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/08A1D61D"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/15B27070"));
}
else if (autoF650CFE9_val == "Gateway") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:543
}
else if (autoF650CFE9_val == "Gateway") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/A9C5B698"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/3EA10D89"));
}
else if (autoF650CFE9_val == "WarpGate") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:546
}
else if (autoF650CFE9_val == "WarpGate") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/C1D33998"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/72EA495C"));
}
else if (autoF650CFE9_val == "RoboticsFacility") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:549
}
else if (autoF650CFE9_val == "RoboticsFacility") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/8C7621C3"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/F1AEE3F5"));
}
else if (autoF650CFE9_val == "Forge") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:552
}
else if (autoF650CFE9_val == "Forge") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/484FACD6"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/986749C0"));
}
else if (autoF650CFE9_val == "CyberneticsCore") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:555
}
else if (autoF650CFE9_val == "CyberneticsCore") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/11A08C5E"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/1057D07C"));
}
else if (autoF650CFE9_val == "TwilightCouncil") {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:558
}
else if (autoF650CFE9_val == "TwilightCouncil") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/6F60C530"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/66C70690"));
}
else if (autoF650CFE9_val == "TemplarArchive") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:312
autoA80D3956_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoA80D3956_val == "SpineCrawler") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/16AF1750"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/7E7EBEC7"));
}
else if (autoA80D3956_val == "SpineCrawlerUprooted") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:315
}
else if (autoA80D3956_val == "SpineCrawlerUprooted") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/46C99FA4"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/C41A47E9"));
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:870
libSwaC_gf_SetHatcheryRallyPoint(UnitFromId(1), PointFromId(636));
if ((libSwaC_gf_MissionStatusCheck("ZExpedition1", libSwaC_ge_MissionStatus_Completed) == false)) {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(UnitFromId(1627), StringExternal("Param/Value/F11773C2"), UnitTypeGetName(UnitGetType(UnitFromId(1627))), StringExternal("Param/Value/73C1D0BE"));
UnitSetState(UnitFromId(1627), c_unitStateTooltipable, true);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:954
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);
gv_scourgeNestGroup = UnitGroup("ZergTowerArtillery", gv_pLAYER_05_DEAD_NEST, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoBBD51A65_g = gv_scourgeNestGroup;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:539
autoDAA6B44E_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoDAA6B44E_val == "SpineCrawler") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/1C004C23"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/5F1DB332"));
}
else if (autoDAA6B44E_val == "SpineCrawlerUprooted") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:542
}
else if (autoDAA6B44E_val == "SpineCrawlerUprooted") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/78300F83"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/155903C2"));
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2map — MapScript.galaxy:1215
libSwaC_gf_ZerglingRespawnSetPrimaryHatchery(UnitFromId(37));
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true)) {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(UnitFromId(148), StringExternal("Param/Value/CC0F95E0"), UnitTypeGetName(UnitGetType(UnitFromId(148))), StringExternal("Param/Value/964AE21C"));
UnitSetState(UnitFromId(148), c_unitStateTooltipable, true);
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("SporeCrawlerRoot", 0), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map — MapScript.galaxy:1656
libNtve_gf_ShowHideUnit(autoA9E1CE21_var, true);
if ((GameCheatsEnabled(c_gameCheatCategoryDevelopment) == true) && (VisIsVisibleForPlayer(gv_pLAYER_01_USER, UnitGetPosition(autoA9E1CE21_var)) == true)) {
TextExpressionSetToken("Param/Expression/D7D06247", "A", UnitTypeGetName(UnitGetType(autoA9E1CE21_var)));
TextExpressionSetToken("Param/Expression/D7D06247", "B", FixedToText(PointGetX(UnitGetPosition(autoA9E1CE21_var)), 1));
TextExpressionSetToken("Param/Expression/D7D06247", "C", FixedToText(PointGetY(UnitGetPosition(autoA9E1CE21_var)), 1));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:1729
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\btn-hero-kerriganqueenofblades.dds", PlayerGroupAll());
DialogControlHookup(gv_nullZoneBarPanel, c_triggerControlTypeLabel, "LeftNameLabel");
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), UnitTypeGetName(UnitGetType(gv_kerrigan)), PlayerGroupAll());
DialogControlHookup(gv_nullZoneBarPanel, c_triggerControlTypeImage, "RightIconImage");
gv_nullZoneBarPortraitNarud = DialogControlLastCreated();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:1734
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\btn-boss-narud.dds", PlayerGroupAll());
DialogControlHookup(gv_nullZoneBarPanel, c_triggerControlTypeLabel, "RightNameLabel");
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), UnitTypeGetName(UnitGetType(gv_kerrigan2)), PlayerGroupAll());
DialogControlSetVisible(gv_nullZoneBarPanel, PlayerGroupAll(), true);
TriggerExecute(gt_UpdateTugWarBar, true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map — MapScript.galaxy:1159
UnitGroupRemove(gv_perfPausedUnits[lv_index], auto40B40B33_var);
if ((GameCheatsEnabled(c_gameCheatCategoryDevelopment) == true) && (VisIsVisibleForPlayer(gv_PLAYER_01_USER, UnitGetPosition(auto40B40B33_var)) == true)) {
TextExpressionSetToken("Param/Expression/771E00B5", "A", UnitTypeGetName(UnitGetType(auto40B40B33_var)));
TextExpressionSetToken("Param/Expression/771E00B5", "B", FixedToText(PointGetX(UnitGetPosition(auto40B40B33_var)), 1));
TextExpressionSetToken("Param/Expression/771E00B5", "C", FixedToText(PointGetY(UnitGetPosition(auto40B40B33_var)), 1));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:581
autoD12EAE3B_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoD12EAE3B_val == "Hatchery") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/E049AB2F"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/32D6E1FD"));
}
else if (autoD12EAE3B_val == "SpawningPool") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:584
}
else if (autoD12EAE3B_val == "SpawningPool") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/BD6E8965"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/0C4F06A1"));
}
else if (autoD12EAE3B_val == "Drone") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:587
}
else if (autoD12EAE3B_val == "Drone") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/9AF9F30D"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/32569246"));
}
else if (autoD12EAE3B_val == "Larva") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:590
}
else if (autoD12EAE3B_val == "Larva") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/90E10556"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/BE485445"));
}
else if (autoD12EAE3B_val == "Overlord") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:593
}
else if (autoD12EAE3B_val == "Overlord") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/40692F08"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/3282DFC4"));
}
else if (autoD12EAE3B_val == "Egg") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:596
}
else if (autoD12EAE3B_val == "Egg") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/4B3162DC"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/E039B724"));
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:610
libNtve_gf_RescueUnit(lp_cHOSEN_UNIT, gv_pLAYER_01_USER, true);
UnitIssueOrder(lp_cHOSEN_UNIT, OrderTargetingPoint(AbilityCommand("attack", 0), lp_tARGET_POINT), c_orderQueueReplace);
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:956
if ((UnitIsAlive(lp_spawner) == true) && (gv_zergAreInRoom06 == true) && (UnitGroupCount(UnitGroup("UmojanLabMicrobot", gv_pLAYER_02_DOMINION3, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < lp_limit) && (UnitIsAlive(gv_eRADICATOR) == true)) {
libNtve_gf_CreateUnitsAtPoint2(1, "UmojanLabMicrobot", 0, lp_whichPlayer, lp_spawnAt);
libSwaC_gf_SetUnitInfoTextCampaign(UnitLastCreated(), null, UnitTypeGetName(UnitGetType(UnitLastCreated())), null);
UnitBehaviorAdd(UnitLastCreated(), "ScanRangeBonus", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), lp_attackTo), c_orderQueueReplace);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:1259
auto3C76BEA1_var = UnitGroupUnitFromEnd(auto3C76BEA1_g, auto3C76BEA1_u);
if (auto3C76BEA1_var == null) { break; }
libSwaC_gf_SetUnitInfoTextCampaign(auto3C76BEA1_var, null, UnitTypeGetName(UnitGetType(auto3C76BEA1_var)), null);
}
libSwaC_gf_SetUnitInfoTextCampaign(gv_eRADICATOR, null, UnitTypeGetName(UnitGetType(gv_eRADICATOR)), null);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:1261
libSwaC_gf_SetUnitInfoTextCampaign(auto3C76BEA1_var, null, UnitTypeGetName(UnitGetType(auto3C76BEA1_var)), null);
}
libSwaC_gf_SetUnitInfoTextCampaign(gv_eRADICATOR, null, UnitTypeGetName(UnitGetType(gv_eRADICATOR)), null);
autoA4132EF1_g = UnitGroup("LabTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoA4132EF1_u = UnitGroupCount(autoA4132EF1_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:1118
auto8BD12173_var = 1;
for ( ; auto8BD12173_var <= auto8BD12173_ae; auto8BD12173_var += 1 ) {
UnitSetInfoText(gv_s3_TramEngineUnits[auto8BD12173_var], StringToText(""), UnitTypeGetName(UnitGetType(gv_s3_TramEngineUnits[auto8BD12173_var])), StringToText(""));
}
libNtve_gf_MakeUnitInvulnerable(UnitFromId(86), true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:1173
}
gv_kerrigan22 = UnitFromId(703);
UnitSetInfoTip(gv_kerrigan22, UnitTypeGetName(UnitGetType(gv_kerrigan22)));
gv_kerrigan222 = UnitFromId(590);
auto5ABDEBA2_g = UnitGroup(null, gv_pLAYER_02_DOMINION, RegionFromId(26), 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:2476
}
UnitSetInfoTip(EventUnit(), UnitTypeGetName(UnitGetType(EventUnit())));
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:636
autoC9DB8A5F_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoC9DB8A5F_val == "Hatchery") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/F605D6F9"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/10565536"));
}
else if (autoC9DB8A5F_val == "SpawningPool") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:639
}
else if (autoC9DB8A5F_val == "SpawningPool") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/35692B69"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/34EF9B3C"));
}
else if (autoC9DB8A5F_val == "EvolutionChamber") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:642
}
else if (autoC9DB8A5F_val == "EvolutionChamber") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/AC797F6F"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/DD3B9EBF"));
}
else if (autoC9DB8A5F_val == "Extractor") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:645
}
else if (autoC9DB8A5F_val == "Extractor") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/07F06757"));
}
else if (autoC9DB8A5F_val == "CreepTumor") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:648
}
else if (autoC9DB8A5F_val == "CreepTumor") {
TextExpressionSetToken("Param/Expression/9B47126B", "A", UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/2AF6BE52"), TextExpressionAssemble("Param/Expression/9B47126B"), StringExternal("Param/Value/E24FDA29"));
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:652
}
else if (autoC9DB8A5F_val == "CreepTumorUsed") {
TextExpressionSetToken("Param/Expression/C058BBAC", "A", UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/83BC878C"), TextExpressionAssemble("Param/Expression/C058BBAC"), StringExternal("Param/Value/2D1B3279"));
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:656
}
else if (autoC9DB8A5F_val == "SpineCrawler") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/CF801334"));
}
else if (autoC9DB8A5F_val == "SpineCrawlerUprooted") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:659
}
else if (autoC9DB8A5F_val == "SpineCrawlerUprooted") {
TextExpressionSetToken("Param/Expression/C71E69E9", "A", UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, TextExpressionAssemble("Param/Expression/C71E69E9"), StringExternal("Param/Value/3D2C1C9A"));
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:663
}
else if (autoC9DB8A5F_val == "SporeCrawler") {
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/582C9103"));
}
else if (autoC9DB8A5F_val == "SporeCrawlerUprooted") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:666
}
else if (autoC9DB8A5F_val == "SporeCrawlerUprooted") {
TextExpressionSetToken("Param/Expression/5CD0552B", "A", UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)));
libSwaC_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, null, TextExpressionAssemble("Param/Expression/5CD0552B"), StringExternal("Param/Value/096482E9"));
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:1402
gv_playerBase = UnitFromId(76);
UnitIssueOrder(gv_playerBase, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
libSwaC_gf_SetUnitInfoTextCampaign(gv_playerBase, null, UnitTypeGetName(UnitGetType(gv_playerBase)), StringExternal("Param/Value/B3553AF2"));
libNtve_gf_ShowHideUnit(gv_playerBase, false);
gv_enemyBase = UnitFromId(5);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus01.sc2map — MapScript.galaxy:683
VisRevealArea(gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lp_cHOSEN_UNIT), 12.0), 15.0, true);
CameraPan(gv_pLAYER_01_USER, UnitGetPosition(lp_cHOSEN_UNIT), 2.0, -1, 10.0, true);
libSwaC_gf_AttachReticleEffectAndTextTagOnUnit(libSwaC_ge_CampaginReticleType_ZergEnemy, libSwaC_ge_CampaginReticleSize_Medium, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), lp_cHOSEN_UNIT, "Ref_Target");
TextTagSetPosition(TextTagLastCreated(), UnitGetPosition(lp_cHOSEN_UNIT), 1.5);
while (!(((UnitGetPropertyFixed(lp_cHOSEN_UNIT, c_unitPropLifePercent, c_unitPropCurrent) < 100.0) || (UnitIsAlive(lp_cHOSEN_UNIT) == false)))) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map — MapScript.galaxy:531
autoF650CFE9_val = UnitGetType(lp_cHOSEN_UNIT);
if (autoF650CFE9_val == "Nexus") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/4300C019"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/1ECE4B4E"));
}
else if (autoF650CFE9_val == "Probe") {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map — MapScript.galaxy:534
}
else if (autoF650CFE9_val == "Probe") {
libA3DDD02B_gf_SetUnitInfoTextCampaignDetailed(lp_cHOSEN_UNIT, StringExternal("Param/Value/36B9565E"), UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)), StringExternal("Param/Value/DC4AB7F9"));
}
else if (autoF650CFE9_val == "Assimilator") {