# Name of Unit
Grammar — Name of unit
Flags —Native
|Function
Returns the name of a specific unit. This function should be preferred if you wish to account for behavior-based name overrides rather than displaying the name of the unit type.
# Arguments
unit
— Unit
Returns — text
native text UnitGetName(unit inUnit);
# Related
Category: Unit / Basic
- Unit Show Kill Display —
void
— UnitShowKillDisplay - Unit Can Path To Point —
bool
— UnitPathableToPoint - Unit Can Path To Unit —
bool
— UnitPathableToUnit - Create Units With Default Facing —
void
— libNtve_gf_CreateUnitsWithDefaultFacing - Create Units With Point Facing —
void
— libNtve_gf_CreateUnitsAtPoint2 - Create Units Facing Angle —
unitgroup
— UnitCreate - Create Units Facing Point —
unitgroup
— libNtve_gf_UnitCreateFacingPoint - Last Created Unit —
unit
— UnitLastCreated - Last Created Units —
unitgroup
— UnitLastCreatedGroup - Original Caster Of Unit —
unit
— UnitGetOriginalCaster - Effect That Created Unit —
string
<gamelink::Effect> — UnitGetOriginalEffect - Replace Unit —
void
— libNtve_gf_ReplaceUnit - Last Replaced Unit —
unit
— libNtve_gf_LastReplacedUnit - Change Owner —
void
— UnitSetOwner - Unit Owner Changes —
void
— TriggerAddEventUnitChangeOwner - Old Unit Owner —
int
— EventUnitOwnerOld - New Unit Owner —
int
— EventUnitOwnerNew - Rescue Unit —
void
— libNtve_gf_RescueUnit - Rescue Unit Group —
void
— libNtve_gf_RescueUnit2 - Kill Unit —
void
— UnitKill - Revive Unit —
void
— UnitRevive - Remove Unit —
void
— UnitRemove - Owner Of Unit —
int
— UnitGetOwner - Unit Is Alive —
bool
— UnitIsAlive - Unit Is Valid —
bool
— UnitIsValid - Unit Group Is Dead —
bool
— libNtve_gf_UnitGroupIsDead - Move Unit Instantly —
void
— UnitSetPosition - Make Unit Face Angle —
void
— UnitSetFacing - Make Unit Face Point —
void
— libNtve_gf_MakeUnitFacePoint - Position Of Unit —
point
— UnitGetPosition - Goal Position Of Unit —
point
— UnitGetGoalPosition - Facing Angle Of Unit —
fixed
— UnitGetFacing - Pause/Unpause Unit —
void
— libNtve_gf_PauseUnit - Pause/Unpause All Units —
void
— UnitPauseAll - Sleep/WakeUp Unit —
void
— libNtve_gf_SleepUnit - Show/Hide Unit —
void
— libNtve_gf_ShowHideUnit - Share Vision of Unit —
void
— libNtve_gf_ShareVisionofUnit - Unit Is Paused —
bool
— libNtve_gf_UnitIsPaused - Unit Is Sleepiing —
bool
— libNtve_gf_UnitIsSleepiing - Unit Is Hidden —
bool
— libNtve_gf_UnitIsHidden - Unit Is Visible To Player —
bool
— libNtve_gf_UnitIsVisibleToPlayer - Set Unit Custom Value —
void
— UnitSetCustomValue - Custom Value Of Unit —
fixed
— UnitGetCustomValue - Unit Enters/Leaves Region —
void
— TriggerAddEventUnitRegion - Triggering Region —
region
— EventUnitRegion - Unit Enters/Leaves Point —
void
— TriggerAddEventUnitRangePoint - Unit Enters/Leaves Range Of Unit —
void
— TriggerAddEventUnitRange - Triggering Range Unit —
unit
— EventUnitRangeUnit - Unit In Region —
bool
— libNtve_gf_UnitInRegion - Triggering Unit —
unit
— EventUnit - Load Unit Model —
void
— UnitLoadModel - Unload Unit Model —
void
— UnitUnloadModel - Agent Of Player For Unit —
unit
— UnitAgent - Change Empty Unit Variables In Events —
void
— UnitEventSetNullVariableInvalid - Name of Unit —
text
— UnitGetName - Ideal Harvester Count —
int
— UnitIdealWorkerCount - Current Harvester Count —
int
— UnitCurrentWorkerCount
# Examples
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:5837
TextExpressionSetToken("Param/Expression/lib_PEB1_0E6D5415", "A", PlayerName(libNtve_gf_KillingPlayer()));
lv_killingPlayerName = TextExpressionAssemble("Param/Expression/lib_PEB1_0E6D5415");
TextExpressionSetToken("Param/Expression/lib_PEB1_6F44EC17", "A", UnitGetName(libGame_gv_players[libNtve_gf_KillingPlayer()].lv_heroUnit));
lv_killingPlayerUnitName = TextExpressionAssemble("Param/Expression/lib_PEB1_6F44EC17");
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:6635
TextExpressionSetToken("Param/Expression/lib_PEB1_A2837647", "A", PlayerName(libGame_gf_HeroKilledKillingPlayer()));
lv_killingPlayerName = TextExpressionAssemble("Param/Expression/lib_PEB1_A2837647");
TextExpressionSetToken("Param/Expression/lib_PEB1_F9D36802", "A", UnitGetName(libGame_gv_players[libGame_gf_HeroKilledKillingPlayer()].lv_heroUnit));
lv_killingPlayerUnitName = TextExpressionAssemble("Param/Expression/lib_PEB1_F9D36802");
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10782
libSond_gf_HeroVOPlayResurrected(lv_targetPlayer, lv_vOGroup);
TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "A", PlayerName(lv_casterPlayer));
TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "B", UnitGetName(libGame_gv_players[lv_casterPlayer].lv_heroUnit));
TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "C", PlayerName(lv_targetPlayer));
TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "D", UnitGetName(libGame_gv_players[lv_targetPlayer].lv_heroUnit));
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10784
TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "B", UnitGetName(libGame_gv_players[lv_casterPlayer].lv_heroUnit));
TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "C", PlayerName(lv_targetPlayer));
TextExpressionSetToken("Param/Expression/lib_PEB1_F516D87C", "D", UnitGetName(libGame_gv_players[lv_targetPlayer].lv_heroUnit));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_F516D87C"));
libPVEM_gf_PvEResurrectCheckActiveSpirits(false);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10810
libSond_gf_HeroVOPlayResurrected(lv_targetPlayer, lv_vOGroup);
TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "A", PlayerName(lv_casterPlayer));
TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "B", UnitGetName(libGame_gv_players[lv_casterPlayer].lv_heroUnit));
TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "C", PlayerName(lv_targetPlayer));
TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "D", UnitGetName(libGame_gv_players[lv_targetPlayer].lv_heroUnit));
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10812
TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "B", UnitGetName(libGame_gv_players[lv_casterPlayer].lv_heroUnit));
TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "C", PlayerName(lv_targetPlayer));
TextExpressionSetToken("Param/Expression/lib_PEB1_7750E430", "D", UnitGetName(libGame_gv_players[lv_targetPlayer].lv_heroUnit));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_7750E430"));
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:4543
if ((UnitGetOwner(EventUnit()) != libNtve_gf_KillingPlayer())) {
TextExpressionSetToken("Param/Expression/lib_PEB1_7E30233A", "A", PlayerName(libNtve_gf_KillingPlayer()));
TextExpressionSetToken("Param/Expression/lib_PEB1_7E30233A", "B", UnitGetName(libNtve_gf_KillingUnit()));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_7E30233A"));
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:5219
if ((libPEB1_gv_zergHeroes[libPEB1_gv_currentStage][lv_itHero].lv_hero == "Murky") && (UnitIsValid(libPEB1_gv_pvEMurkyEggUnit) == true)) {
TextExpressionSetToken("Param/Expression/lib_PEB1_37F509BA", "A", PlayerName(libGame_gf_HeroKilledKillingPlayer()));
TextExpressionSetToken("Param/Expression/lib_PEB1_37F509BA", "B", UnitGetName(libGame_gv_players[libGame_gf_HeroKilledKillingPlayer()].lv_heroUnit));
TextExpressionSetToken("Param/Expression/lib_PEB1_37F509BA", "C", libPEB1_gf_PZEZergBossName(lv_killedHero));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_37F509BA"));
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:5226
else {
TextExpressionSetToken("Param/Expression/lib_PEB1_98EF9FE6", "A", PlayerName(libGame_gf_HeroKilledKillingPlayer()));
TextExpressionSetToken("Param/Expression/lib_PEB1_98EF9FE6", "B", UnitGetName(libGame_gv_players[libGame_gf_HeroKilledKillingPlayer()].lv_heroUnit));
TextExpressionSetToken("Param/Expression/lib_PEB1_98EF9FE6", "C", libPEB1_gf_PZEZergBossName(lv_killedHero));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PEB1_98EF9FE6"));
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:930
if ((libNtve_gf_PlayerInCinematicMode(lp_playerIndex) == false)) {
TextExpressionSetToken("Param/Expression/lib_PVEB_D3C8FC72", "A", PlayerName(lp_playerIndex));
TextExpressionSetToken("Param/Expression/lib_PVEB_D3C8FC72", "B", UnitGetName(libGame_gv_players[lp_playerIndex].lv_heroUnit));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PVEB_D3C8FC72"));
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:2342
if ((libNtve_gf_PlayerInCinematicMode(lv_targetPlayer) == false)) {
TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "A", PlayerName(lv_targetPlayer));
TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "B", UnitGetName(lv_targetHero));
TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "C", PlayerName(lv_casterPlayer));
TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "D", UnitGetName(lv_caster));
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:2344
TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "B", UnitGetName(lv_targetHero));
TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "C", PlayerName(lv_casterPlayer));
TextExpressionSetToken("Param/Expression/lib_PVEB_82544EEF", "D", UnitGetName(lv_caster));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PVEB_82544EEF"));
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:2410
libPVEB_gv_pvEResurrectRevivingDialog[lv_targetPlayer].lv_label = DialogLastCreated();
TextExpressionSetToken("Param/Expression/lib_PVEB_1DA07CDF", "A", PlayerName(lv_resurrectPlayer));
TextExpressionSetToken("Param/Expression/lib_PVEB_1DA07CDF", "B", UnitGetName(lv_resurrecter));
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), TextExpressionAssemble("Param/Expression/lib_PVEB_1DA07CDF"), PlayerGroupSingle(lv_targetPlayer));
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ReviveNotificationBlue", PlayerGroupSingle(lv_targetPlayer));
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:2473
lv_newBehaviorTime = MinF(lv_newBehaviorTime, UnitBehaviorDuration(lv_itUnit, "PVEResurrectCastTracking"));
lv_newPlayerName = PlayerName(UnitGetOwner(lv_itUnit));
lv_newHeroName = UnitGetName(lv_itUnit);
}
TextExpressionSetToken("Param/Expression/lib_PVEB_96731AFB", "A", lv_newPlayerName);
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:488
if ((libNtve_gf_PlayerInCinematicMode(lp_playerIndex) == false)) {
TextExpressionSetToken("Param/Expression/lib_PVEM_D3C8FC72", "A", PlayerName(lp_playerIndex));
TextExpressionSetToken("Param/Expression/lib_PVEM_D3C8FC72", "B", UnitGetName(libGame_gv_players[lp_playerIndex].lv_heroUnit));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PVEM_D3C8FC72"));
}
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:1897
if ((libNtve_gf_PlayerInCinematicMode(lv_targetPlayer) == false)) {
TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "A", PlayerName(lv_targetPlayer));
TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "B", UnitGetName(lv_targetHero));
TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "C", PlayerName(lv_casterPlayer));
TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "D", UnitGetName(lv_caster));
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:1899
TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "B", UnitGetName(lv_targetHero));
TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "C", PlayerName(lv_casterPlayer));
TextExpressionSetToken("Param/Expression/lib_PVEM_82544EEF", "D", UnitGetName(lv_caster));
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_PVEM_82544EEF"));
}
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:1963
libPVEM_gv_pvEResurrectRevivingDialog[lv_targetPlayer].lv_label = DialogLastCreated();
TextExpressionSetToken("Param/Expression/lib_PVEM_1DA07CDF", "A", PlayerName(lv_resurrectPlayer));
TextExpressionSetToken("Param/Expression/lib_PVEM_1DA07CDF", "B", UnitGetName(lv_resurrecter));
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), TextExpressionAssemble("Param/Expression/lib_PVEM_1DA07CDF"), PlayerGroupSingle(lv_targetPlayer));
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ReviveNotificationBlue", PlayerGroupSingle(lv_targetPlayer));
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:2030
lv_newBehaviorTime = MinF(lv_newBehaviorTime, UnitBehaviorDuration(lv_itUnit, "DeadHeroResurrectCastTrackingBehavior"));
lv_newPlayerName = PlayerName(UnitGetOwner(lv_itUnit));
lv_newHeroName = UnitGetName(lv_itUnit);
}
TextExpressionSetToken("Param/Expression/lib_PVEM_96731AFB", "A", lv_newPlayerName);
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEU.galaxy:1397
DialogControlSetVisible(libPVEU_gv_pvEUIBossPanel.lv_pvEUIBossPanel_MainPanel, PlayerGroupAll(), false);
}
TextExpressionSetToken("Param/Expression/lib_PVEU_97E073B1", "A", UnitGetName(lp_boss));
libNtve_gf_SetDialogItemText(libPVEU_gv_pvEUIBossPanel.lv_pvEUIBossPanel_Label, TextExpressionAssemble("Param/Expression/lib_PVEU_97E073B1"), PlayerGroupAll());
libNtve_gf_SetDialogItemUnit(libPVEU_gv_pvEUIBossPanel.lv_pvEUIBossPanel_UnitBar, lp_boss, PlayerGroupAll());
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:8827
lv_weaponDamage = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogEffect, CatalogFieldValueGet(c_gameCatalogWeapon, UnitWeaponGet(lv_selectedUnit, 1), "DisplayEffect", c_playerAny), "Amount", 0), c_fixedPrecisionAny);
}
UIDisplayMessage(PlayerGroupActive(), c_messageAreaChat, (StringExternal("Param/Value/lib_Sprt_89ADB976") + UnitGetName(auto8C3F4A95_var)));
UIDisplayMessage(PlayerGroupActive(), c_messageAreaChat, (StringExternal("Param/Value/lib_Sprt_A078F9E7") + lv_baseHealth + StringExternal("Param/Value/lib_Sprt_93620BFF") + lv_baseHealthRegen + StringExternal("Param/Value/lib_Sprt_889CD47C") + lv_baseHealthScaling));
UIDisplayMessage(PlayerGroupActive(), c_messageAreaChat, (StringExternal("Param/Value/lib_Sprt_E4C07289") + lv_weaponDamage));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:4586
lv_index = libUIUI_gv_uIHeroTrackerArrows.lv_unitCount;
if ((lv_index > libUIUI_gv_uI_MaxHeroGroupStatusFrames)) {
TextExpressionSetToken("Param/Expression/lib_UIUI_C22535C8", "A", UnitGetName(lv_itHero));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_UIUI_C22535C8"), true);
lv_index = libUIUI_gv_uI_MaxHeroGroupStatusFrames;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:7117
if ((libNtve_gf_UnitIsVisibleToPlayer(lv_transportUnit, lp_pingingPlayer) == true)) {
lv_targetUnit = lv_transportUnit;
lv_targetUnitName = UnitGetName(lv_transportUnit);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:7282
TextExpressionSetToken("Param/Expression/lib_UIUI_311FDEF8", "B", libGame_gv_players[lp_pingingPlayer].lv_heroData.lv_name);
TextExpressionSetToken("Param/Expression/lib_UIUI_311FDEF8", "D", lv_friendlyColor);
TextExpressionSetToken("Param/Expression/lib_UIUI_311FDEF8", "C", UnitGetName(lv_targetUnit));
TextExpressionSetToken("Param/Expression/lib_UIUI_311FDEF8", "A", FixedToText(TimerGetRemaining(libUIUI_gv_uIPartyFrame.lv_heroVikingsDeathTimers[lp_uIRosterSlot][lp_vikingIndex]), lv_deathTimerPrecision));
lv_pingText = TextExpressionAssemble("Param/Expression/lib_UIUI_311FDEF8");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:7474
}
else {
lv_nameOfTarget = UnitGetName(lp_targetUnit);
}
lv_targetType = libUIUI_gf_PingDeterminePingTargetType(lp_targetUnit);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:7743
}
else if (true) {
lv_targetName = UnitGetName(lp_targetUnit);
}
if ((libGame_gf_TeamNumberOfPlayer(UnitGetOwner(lp_targetUnit)) == libGame_gf_EnemyTeamNumberOfPlayer(lp_player))) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:7878
}
else if (true) {
lv_targetName = UnitGetName(lp_targetUnit);
}
if ((libGame_gf_TeamNumberOfPlayer(UnitGetOwner(lp_targetUnit)) != libGame_gf_TeamNumberOfPlayer(lp_player))) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:7979
}
else if (true) {
lv_targetName = UnitGetName(lp_pingedUnit);
}
if ((libGame_gf_TeamNumberOfPlayer(UnitGetOwner(lp_pingedUnit)) == libGame_gf_TeamNumberOfPlayer(lp_player))) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:8071
}
else if (true) {
lv_pingedTargetName = UnitGetName(lp_pingedUnit);
}
if ((libGame_gf_TeamNumberOfPlayer(UnitGetOwner(lp_pingedUnit)) == libGame_gf_EnemyTeamNumberOfPlayer(lp_player))) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:8096
TextExpressionSetToken("Param/Expression/lib_UIUI_1C1EB2B0", "A", lv_pingingHeroName);
TextExpressionSetToken("Param/Expression/lib_UIUI_1C1EB2B0", "A", lv_pingingHeroName);
TextExpressionSetToken("Param/Expression/lib_UIUI_1C1EB2B0", "B", UnitGetName(lp_pingedUnit));
UIDisplayMessage(lv_pingPlayerGroup, c_messageAreaChat, TextExpressionAssemble("Param/Expression/lib_UIUI_1C1EB2B0"));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:8196
}
else {
lv_pingingUnitName = UnitGetName(lv_pingingPlayerHero);
}
}
mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmod — base.stormdata/LibMMAP.galaxy:496
if ((lv_closestEnemy != lv_lastClosestEnemy)) {
lv_lastClosestEnemy = lv_closestEnemy;
TextExpressionSetToken("Param/Expression/lib_MMAP_0B9554B7", "A", UnitGetName(lv_closestEnemy));
libMMAP_gf_DEBUG_WatchedDefenderLog(lp_defenderUnit, TextExpressionAssemble("Param/Expression/lib_MMAP_0B9554B7"));
}
mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmod — base.stormdata/LibMMAP.galaxy:2652
libMMAP_gv_dEBUG_WatchedDefender = lv_defenderUnit;
UnitBehaviorAdd(lv_defenderUnit, "DebugWatchedFlagDefender", lv_defenderUnit, 1);
TextExpressionSetToken("Param/Expression/lib_MMAP_46214EA8", "A", UnitGetName(lv_defenderUnit));
TextExpressionSetToken("Param/Expression/lib_MMAP_46214EA8", "B", IntToText(UnitGetTag(lv_defenderUnit)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_MMAP_46214EA8"), true);
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:175
}
else {
return UnitGetName(lp_unit);
}
}
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:7655
UnitSetState(UnitFromId(895), c_unitStateTooltipable, true);
UnitSetState(UnitFromId(895), c_unitStateInvulnerable, false);
libNCMI_gf_SetUnitInfoTextCampaign(UnitFromId(895), null, UnitGetName(UnitFromId(895)), null);
UnitSetState(UnitFromId(1340), c_unitStateHighlightable, true);
UnitSetState(UnitFromId(1340), c_unitStateSelectable, true);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:7661
UnitSetState(UnitFromId(1340), c_unitStateTooltipable, true);
UnitSetState(UnitFromId(1340), c_unitStateInvulnerable, false);
libNCMI_gf_SetUnitInfoTextCampaign(UnitFromId(1340), null, UnitGetName(UnitFromId(1340)), null);
Wait(4.0, c_timeGame);
TriggerExecute(gt_BonusObjectiveEradicatorTypeMissile, true, false);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:7655
UnitSetState(UnitFromId(895), c_unitStateTooltipable, true);
UnitSetState(UnitFromId(895), c_unitStateInvulnerable, false);
libNCMI_gf_SetUnitInfoTextCampaign(UnitFromId(895), null, UnitGetName(UnitFromId(895)), null);
UnitSetState(UnitFromId(1340), c_unitStateHighlightable, true);
UnitSetState(UnitFromId(1340), c_unitStateSelectable, true);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:7661
UnitSetState(UnitFromId(1340), c_unitStateTooltipable, true);
UnitSetState(UnitFromId(1340), c_unitStateInvulnerable, false);
libNCMI_gf_SetUnitInfoTextCampaign(UnitFromId(1340), null, UnitGetName(UnitFromId(1340)), null);
Wait(4.0, c_timeGame);
TriggerExecute(gt_BonusObjectiveEradicatorTypeMissile, true, false);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15461
if (((UnitHasBehavior2(EventUnit(), "BiomassBuff1") == true) || (UnitHasBehavior2(EventUnit(), "BiomassBuff10") == true) || (UnitHasBehavior2(EventUnit(), "BiomassBuff100") == true))) {
TextExpressionSetToken("Param/Expression/lib_COMI_C5670D9B", "A", UnitGetName(EventUnit()));
TextExpressionSetToken("Param/Expression/lib_COMI_C5670D9B", "B", IntToText((UnitBehaviorCount(EventUnit(), "BiomassBuff100") * 100)));
TextExpressionSetToken("Param/Expression/lib_COMI_C5670D9B", "C", IntToText((UnitBehaviorCount(EventUnit(), "BiomassBuff10") * 10)));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15468
}
else {
TextExpressionSetToken("Param/Expression/lib_COMI_564A19C7", "A", UnitGetName(EventUnit()));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_COMI_564A19C7"), false);
return true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:13850
PingSetScale(PingLastCreated(), lv_killBotPingSize);
PingSetUnit(PingLastCreated(), UnitLastCreated());
PingSetTooltip(PingLastCreated(), UnitGetName(UnitLastCreated()));
libHots_gf_StorePingForUnit(UnitLastCreated(), 1, PingLastCreated());
libCOMU_gf_CT_KillBotsUpdate(UnitLastCreated(), lv_killBotLevel);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:3021
else {
}
TextExpressionSetToken("Param/Expression/lib_COUI_A27EDFDB", "A", UnitGetName(libCOUI_gv_cU_HeroUnit[lp_index][lp_player]));
TextExpressionSetToken("Param/Expression/lib_COUI_A27EDFDB", "B", lv_hotkey);
libNtve_gf_SetDialogItemText(libCOUI_gv_cU_HeroDialogNameLabel[lp_index], TextExpressionAssemble("Param/Expression/lib_COUI_A27EDFDB"), lv_updateGroup);
mods/warcoop/warclassic.sc2mod — base.sc2data/TriggerLibs/WarClassic.galaxy:1066
lv_color = libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(lv_p, false));
lv_ally = PlayerGroupAlliance(c_playerGroupAlly, lv_p);
lv_prop = UnitGetName(lv_u);
lv_name = StringExternal(("Name/" + (lv_uT)));
lv_level = UnitLevel(lv_u);
mods/warcoop/warmeleeai.sc2mod — base.sc2data/LibW3AI.galaxy:326
TextExpressionSetToken("Param/Expression/lib_W3AI_C27559DB", "pn", PlayerName(EventPlayer()));
TextExpressionSetToken("Param/Expression/lib_W3AI_C27559DB", "un", UnitGetName(lv_u));
UnitSetInfoTip(lv_u, TextExpressionAssemble("Param/Expression/lib_W3AI_C27559DB"));
return true;