# Hero Of Player
Grammar — Hero of player p
Flags —Native
|Function
Returns the hero of the player.
# Arguments
int
— Player
Returns — string
<gamelink::Hero>
native string PlayerHero(int inPlayer);
# Related
Category: Player / Player Settings
- Modify Player Property (Integer) —
void
— PlayerModifyPropertyInt - Modify Player Property (Real) —
void
— PlayerModifyPropertyFixed - Player Property (Integer) —
int
— PlayerGetPropertyInt - Player Property (Real) —
fixed
— PlayerGetPropertyFixed - Modify Player Score (Integer) —
void
— PlayerScoreValueSetFromInt - Modify Player Score (Real) —
void
— PlayerScoreValueSetFromFixed - Player Score Value (Integer) —
int
— PlayerScoreValueGetAsInt - Player Score Value (Real) —
fixed
— PlayerScoreValueGetAsFixed - Turn Player Flag On/Off —
void
— PlayerSetState - Player Flag Check —
bool
— PlayerGetState - Player License Check —
bool
— PlayerHasLicense - Player Access Check —
bool
— PlayerHasAccessTo - Player Has Reward —
bool
— PlayerHasReward - Player Has Talent —
bool
— PlayerHasTalent - Name Of Player —
text
— PlayerName - Handle Of Player —
string
— PlayerHandle - Race Of Player —
string
<gamelink::Race> — PlayerRace - Hero Of Player —
string
<gamelink::Hero> — PlayerHero - Skin Of Player —
string
<gamelink::Skin> — PlayerSkin - Mount Of Player —
string
<gamelink::Mount> — PlayerMount - Spray Of Player —
string
<gamelink::Spray> — PlayerSpray - Artifact Of Player —
string
<gamelink::Artifact> — PlayerArtifact - Artifact Rank Of Player —
int
— PlayerArtifactRank - Commander Of Player —
string
<gamelink::Commander> — PlayerCommander - Commander Level Of Player —
int
— PlayerCommanderLevel - Commander Mastery Level Of Player —
int
— PlayerCommanderMasteryLevel - Commander Mastery Talent Rank Of Player —
int
— PlayerCommanderMasteryTalentRank - Commander Selected Prestige Of Player —
int
— PlayerCommanderSelectedPrestige - Brutal Plus Difficulty of Player —
int
— PlayerBrutalPlusDifficulty - Retry Mutation Index of Player —
int
— PlayerRetryMutation - Allied Commander Enemy Wave Type —
int
— PlayerACEnemyWaveType - Start Location Of Player —
point
— PlayerStartLocation - Controller Of Player —
int
<preset::PlayerController> — PlayerType - Status Of Player —
int
<preset::PlayerStatus> — PlayerStatus - Set Player Color —
void
— PlayerSetColorIndex - Set Player Race —
void
— PlayerSetRace - Set Player Hero —
void
— PlayerSetHero - Set Player Skin —
void
— PlayerSetSkin - Set Player Console Skin —
void
— PlayerSetConsoleSkin - Apply Player Skin —
void
— PlayerApplySkin - Apply Player Skin (Replacing Existing Unit) —
void
— libNtve_gf_PlayerApplySkinReplacingExistingUnit - Set Player Mount —
void
— PlayerSetMount - Set Player Spray —
void
— PlayerSetSpray - Set Player Commander —
void
— PlayerSetCommander - Set Player Commander Level —
void
— PlayerSetCommanderLevel - Set Player Commander Mastery Level —
void
— PlayerSetCommanderMasteryLevel - Set Player Death Timer —
void
— PlayerSetDeathTimer - Set Player Bounds —
void
— PlayerSetBounds - Add Player Talent —
void
— PlayerAddTalent - Remove Player Talent —
void
— PlayerRemoveTalent - Add Player Response —
void
— PlayerAddResponse - Remove Player Response —
void
— PlayerRemoveResponse - Clear Player Response —
void
— PlayerClearResponse - Player Color —
int
<playercolor> — PlayerGetColorIndex - Override Player Option —
void
— PlayerOptionOverride - Player Hotkey Profile —
string
— PlayerGetHotkeyProfile - Player Property Changed —
void
— TriggerAddEventPlayerPropChange - Player Joins Game —
void
— TriggerAddEventPlayerJoin - Player Leaves Game —
void
— TriggerAddEventPlayerLeft - Triggering Player —
int
— EventPlayer - Triggering Player Property —
int
<preset::Player_Property_Get> — EventPlayerProperty - Triggering Player Property Change (Integer) —
int
— EventPlayerPropertyChangeInt - Triggering Player Property Change (Real) —
fixed
— EventPlayerPropertyChangeFixed - Player Add Label —
void
— PlayerAddLabel - Player Remove Label —
void
— PlayerRemoveLabel - Player Remove All Labels —
void
— PlayerRemoveAllLabels - Player Has Label —
bool
— PlayerHasLabel - Player Add Reward —
void
— PlayerAddReward
# Examples
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:375
}
else {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
}
PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, gv_pLAYER_AI_Ally_C);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:679
lv_xP = libCore_gf_GetTotalXPForLevel(lv_realLevel);
Wait(0.0625, c_timeGame);
if (((PlayerHero(gv_pLAYER_TryMe_C) == "Cho") || (PlayerHero(gv_pLAYER_TryMe_C) == "Gall"))) {
libGame_gf_SendEventCustomTryMeModeSetLevel(gv_pLAYER_TryMe_C, lv_xP);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:679
lv_xP = libCore_gf_GetTotalXPForLevel(lv_realLevel);
Wait(0.0625, c_timeGame);
if (((PlayerHero(gv_pLAYER_TryMe_C) == "Cho") || (PlayerHero(gv_pLAYER_TryMe_C) == "Gall"))) {
libGame_gf_SendEventCustomTryMeModeSetLevel(gv_pLAYER_TryMe_C, lv_xP);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:687
}
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
libUIUI_gv_uIDebugPanelSpawnAtCamera = false;
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:692
if ((lp_isRespec == false)) {
if ((gv_pLAYER_AI_AllyHero != null)) {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_defaultIndex, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_xP, gv_pLAYER_AI_Ally_C, gv_pLAYER_AI_Ally_C);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:692
if ((lp_isRespec == false)) {
if ((gv_pLAYER_AI_AllyHero != null)) {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_defaultIndex, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_xP, gv_pLAYER_AI_Ally_C, gv_pLAYER_AI_Ally_C);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:696
if ((gv_pLAYER_AI_EnemyHero != null)) {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Enemy_C)), 0, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Enemy_C)), lv_xP, gv_pLAYER_AI_Enemy_C, gv_pLAYER_TryMe_C);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:696
if ((gv_pLAYER_AI_EnemyHero != null)) {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Enemy_C)), 0, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Enemy_C)), lv_xP, gv_pLAYER_AI_Enemy_C, gv_pLAYER_TryMe_C);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:375
}
else {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
}
PlayerGroupAdd(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, gv_pLAYER_AI_Ally_C);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:679
lv_xP = libCore_gf_GetTotalXPForLevel(lv_realLevel);
Wait(0.0625, c_timeGame);
if (((PlayerHero(gv_pLAYER_TryMe_C) == "Cho") || (PlayerHero(gv_pLAYER_TryMe_C) == "Gall"))) {
libGame_gf_SendEventCustomTryMeModeSetLevel(gv_pLAYER_TryMe_C, lv_xP);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:679
lv_xP = libCore_gf_GetTotalXPForLevel(lv_realLevel);
Wait(0.0625, c_timeGame);
if (((PlayerHero(gv_pLAYER_TryMe_C) == "Cho") || (PlayerHero(gv_pLAYER_TryMe_C) == "Gall"))) {
libGame_gf_SendEventCustomTryMeModeSetLevel(gv_pLAYER_TryMe_C, lv_xP);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:687
}
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_TryMe_C)), libCore_gf_DataSkinsGetSkinIndexFromSkinLink(PlayerSkin(gv_pLAYER_TryMe_C)), libCore_gf_DataMountGetMountIndexFromMountLink(PlayerMount(gv_pLAYER_TryMe_C)), lv_xP, gv_pLAYER_TryMe_C, gv_pLAYER_TryMe_C);
libUIUI_gv_uIDebugPanelSpawnAtCamera = false;
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:692
if ((lp_isRespec == false)) {
if ((gv_pLAYER_AI_AllyHero != null)) {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_defaultIndex, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_xP, gv_pLAYER_AI_Ally_C, gv_pLAYER_AI_Ally_C);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:692
if ((lp_isRespec == false)) {
if ((gv_pLAYER_AI_AllyHero != null)) {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_defaultIndex, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Ally_C)), lv_xP, gv_pLAYER_AI_Ally_C, gv_pLAYER_AI_Ally_C);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:696
if ((gv_pLAYER_AI_EnemyHero != null)) {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Enemy_C)), 0, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Enemy_C)), lv_xP, gv_pLAYER_AI_Enemy_C, gv_pLAYER_TryMe_C);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:696
if ((gv_pLAYER_AI_EnemyHero != null)) {
libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libCore_gf_GetIndexFromHero(PlayerHero(gv_pLAYER_AI_Enemy_C)), 0, gf_HeroDefaultMountIndex(PlayerHero(gv_pLAYER_AI_Enemy_C)), lv_xP, gv_pLAYER_AI_Enemy_C, gv_pLAYER_TryMe_C);
}
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:202
// Implementation
lv_hero = PlayerHero(lp_player);
auto61FEE87C_val = lv_hero;
if (auto61FEE87C_val == "LostVikings") {
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:6638
lv_killingPlayerUnitName = TextExpressionAssemble("Param/Expression/lib_PEB1_F9D36802");
}
lv_killedHero = PlayerHero(libGame_gf_HeroKilledPlayer());
libGame_gf_HeroRefreshCooldowns(libGame_gf_HeroKilledPlayer(), false);
lv_itHero = 1;
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:5212
}
lv_killedHero = PlayerHero(libGame_gf_HeroKilledPlayer());
libGame_gf_HeroRefreshCooldowns(libGame_gf_HeroKilledPlayer(), false);
lv_itHero = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:1457
}
}
lv_heroName = PlayerHero(lp_trigPlayer);
lv_numberOfTalentBuilds = CatalogFieldValueCount(c_gameCatalogHero, lv_heroName, "TalentAIBuildsArray", lp_trigPlayer);
autoB5B4CB0E_ae = lv_numberOfTalentBuilds;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:1478
if ((lv_curBuildNum >= libAIAI_gv_heroAIMaxNumberofTalentBuilds)) {
TextExpressionSetToken("Param/Expression/lib_AIAI_B105233B", "A", StringToText((PlayerHero(lp_trigPlayer))));
TextExpressionSetToken("Param/Expression/lib_AIAI_B105233B", "B", IntToText(lv_numberOfTalentBuilds));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_AIAI_B105233B"), true);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:1490
lv_numberOfTalentsInArray = CatalogFieldValueCount(c_gameCatalogHero, lv_heroName, "TalentAIBuildsArray[" + IntToString(lv_talentBuildIndex - 1) + "].TalentsArray", c_playerAny);
if ((lv_numberOfTalentsInArray != libCore_gv_talents_MaxTiers_C)) {
TextExpressionSetToken("Param/Expression/lib_AIAI_01298FE3", "A", StringToText((PlayerHero(lp_trigPlayer))));
TextExpressionSetToken("Param/Expression/lib_AIAI_01298FE3", "B", IntToText(lv_talentBuildIndex));
TextExpressionSetToken("Param/Expression/lib_AIAI_01298FE3", "C", IntToText(lv_numberOfTalentsInArray));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:12864
// Conditions
if (testConds) {
if (!((PlayerHero(libGame_gf_HeroGainTalentPlayer()) == "LostVikings"))) {
return false;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:527
// Automatic Variable Declarations
// Implementation
if ((((libGame_gv_players[lp_player].lv_isDead == true) && (PlayerHero(lp_player) != "Leoric")) || (libGame_gv_afk_AfkDetectionSystemEnabled == false) || (libGame_gv_players[lp_player].lv_playerIgnoresAFKSystem == true))) {
return ;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5497
// Implementation
if ((PlayerHero(lp_choPlayerID) == "Gall")) {
return ;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5506
lv_itPlayer = PlayerGroupNextPlayer(autoA94CBDD9_g, lv_itPlayer);
if (lv_itPlayer<0) { break; }
if ((PlayerHero(lv_itPlayer) == "Gall")) {
lv_gallPlayerID = lv_itPlayer;
break;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5579
// Implementation
lv_mountSelectedHeroIndex = lp_mountSelectedPlayer;
if ((PlayerHero(lp_skinSelectedPlayer) == "Cho")) {
lv_choPlayerID = lp_skinSelectedPlayer;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:7569
lv_itPlayer = 1;
for ( ; ( (autoB9931724_ai >= 0 && lv_itPlayer <= autoB9931724_ae) || (autoB9931724_ai < 0 && lv_itPlayer >= autoB9931724_ae) ) ; lv_itPlayer += autoB9931724_ai ) {
lv_heroLink = PlayerHero(lv_itPlayer);
if (((lv_heroLink == null) || (lv_heroLink == libCore_gv_heroes_RandomHeroID))) {
continue;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12343
}
if ((PlayerHero(lp_player) == "LostVikings")) {
libGame_gf_ControlGroupsEnterVehicleLostVikings(lp_vehicle, lp_hero, lp_player);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12347
}
if ((PlayerHero(lp_player) == "Samuro") && (PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster") == true)) {
libGame_gf_ControlGroupsEnterVehicleSamuro(lp_vehicle, lp_hero, lp_player);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12375
}
if ((PlayerHero(lp_player) == "LostVikings")) {
libGame_gf_ControlGroupsExitVehicleLostVikings(lp_vehicle, lp_hero, lp_player);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12379
}
if ((PlayerHero(lp_player) == "Samuro") && (PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster") == true)) {
libGame_gf_ControlGroupsExitVehicleSamuro(lp_vehicle, lp_hero, lp_player);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12388
// Automatic Variable Declarations
// Implementation
if ((PlayerHero(lp_player) == "Samuro") && (PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster") == true)) {
libGame_gf_ControlGroupsSwapVehicleSamuro(lp_originVehicle, lp_newVehicle, lp_player);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:1246
// Variable Initialization
lv_value = "";
lv_hero = PlayerHero(lp_player);
lv_skin = PlayerSkin(lp_player);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:2003
lv_itTier = 1;
for ( ; ( (autoEE7F0FF9_ai >= 0 && lv_itTier <= autoEE7F0FF9_ae) || (autoEE7F0FF9_ai < 0 && lv_itTier >= autoEE7F0FF9_ae) ) ; lv_itTier += autoEE7F0FF9_ai ) {
libGame_gv_players[lp_player].lv_talents_TierLevels[lv_itTier].lv_level = CatalogFieldValueGetAsInt(c_gameCatalogHero, PlayerHero(lp_player), "TalentTierArray[" + IntToString((lv_itTier-1)) + "].Level", lp_player);
}
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:2021
lv_itTier = 1;
for ( ; lv_itTier <= auto4418CAF4_ae ; lv_itTier += 1 ) {
if ((CatalogFieldValueGetAsInt(c_gameCatalogHero, PlayerHero(lp_player), "TalentTierArray[" + IntToString((lv_itTier-1)) + "].ContainsHeroic", c_playerAny) == 1)) {
libGame_gv_players[lp_player].lv_talent_HeroicTalentTier = lv_itTier;
break;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SoundLib.galaxy:943
lv_it_SpeakingPlayer = 1;
for ( ; ( (auto7EB7135C_ai >= 0 && lv_it_SpeakingPlayer <= auto7EB7135C_ae) || (auto7EB7135C_ai < 0 && lv_it_SpeakingPlayer >= auto7EB7135C_ae) ) ; lv_it_SpeakingPlayer += auto7EB7135C_ai ) {
if (((PlayerHero(lv_it_SpeakingPlayer) != "") && (libGame_gf_TeamNumberOfPlayer(lv_it_SpeakingPlayer) == libGame_gf_TeamNumberOfPlayer(lv_player)))) {
libSond_gf_HeroVOPlayHeroLine(libCore_ge_HeroVOEvents_Cheer, lv_it_SpeakingPlayer, PlayerGroupSingle(lv_player));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2013
}
libStEx_gv_tutorialHero = PlayerHero(libStEx_gv_pLAYER_01_USER);
if (((libStEx_gv_tutorialHero == null) || (libStEx_gv_tutorialHero == libCore_gv_heroes_RandomHeroID))) {
if (((libStEx_gv_automation_Debug == true) || (GameIsTestMap(true) == true))) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:8818
lv_baseHealth = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogUnit, UnitGetType(lv_selectedUnit), "LifeStart", 0), c_fixedPrecisionAny);
lv_baseHealthRegen = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogUnit, UnitGetType(lv_selectedUnit), "LifeRegenRate", 0), c_fixedPrecisionAny);
lv_baseHealthScaling = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogHero, PlayerHero(EventPlayer()), "LevelScalingArray[" + IntToString(6) + "].Modifications[" + IntToString(1) + "].Value", 0), c_fixedPrecisionAny);
lv_weaponDamage = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogEffect, CatalogFieldValueGet(c_gameCatalogWeapon, UnitWeaponGet(lv_selectedUnit, 1), "DisplayEffect", c_playerAny), "Amount", 0), c_fixedPrecisionAny);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:8824
lv_baseHealth = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogUnit, UnitGetType(lv_selectedUnit), "LifeStart", 0), c_fixedPrecisionAny);
lv_baseHealthRegen = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogUnit, UnitGetType(lv_selectedUnit), "LifeRegenRate", 0), c_fixedPrecisionAny);
lv_baseHealthScaling = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogHero, PlayerHero(EventPlayer()), "LevelScalingArray[" + IntToString(1) + "].Modifications[" + IntToString(0) + "].Value", 0), c_fixedPrecisionAny);
lv_weaponDamage = FixedToText(CatalogFieldValueGetAsFixed(c_gameCatalogEffect, CatalogFieldValueGet(c_gameCatalogWeapon, UnitWeaponGet(lv_selectedUnit, 1), "DisplayEffect", c_playerAny), "Amount", 0), c_fixedPrecisionAny);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:12948
lv_alliedTeam = libGame_gf_PlayersOnTeamHeroes(libGame_gf_TeamNumberOfPlayer(libGame_gf_HeroLevelUpPlayer()), false);
lv_enemyTeam = libGame_gf_PlayersOnTeamHeroes(libGame_gf_EnemyTeamNumberOfPlayer(libGame_gf_HeroLevelUpPlayer()), false);
if ((PlayerHero(libGame_gf_HeroLevelUpPlayer()) == "Chromie")) {
auto4C80ADCF_g = lv_alliedTeam;
auto4C80ADCF_var = -1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:12954
auto4C80ADCF_var = PlayerGroupNextPlayer(auto4C80ADCF_g, auto4C80ADCF_var);
if (auto4C80ADCF_var<0) { break; }
if ((PlayerHero(auto4C80ADCF_var) != "Chromie")) {
lv_skipMessaging = true;
break;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:13035
lv_alliedTeam = libGame_gf_PlayersOnTeamHeroes(libGame_gf_TeamNumberOfPlayer(libGame_gf_HeroLevelUpPlayer()), false);
lv_enemyTeam = libGame_gf_PlayersOnTeamHeroes(libGame_gf_EnemyTeamNumberOfPlayer(libGame_gf_HeroLevelUpPlayer()), false);
if ((PlayerHero(libGame_gf_HeroLevelUpPlayer()) == "Chromie")) {
autoC07B5041_g = lv_alliedTeam;
autoC07B5041_var = -1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:13041
autoC07B5041_var = PlayerGroupNextPlayer(autoC07B5041_g, autoC07B5041_var);
if (autoC07B5041_var<0) { break; }
if ((PlayerHero(autoC07B5041_var) != "Chromie")) {
lv_skipMessaging = true;
break;
mods/heromods/ana.stormmod — base.stormdata/LibHANA.galaxy:258
}
if (((CatalogFieldValueGet(c_gameCatalogHero, PlayerHero(UnitGetOwner(lv_targetUnit)), "Gender", UnitGetOwner(lv_targetUnit)) == "Female") || (UnitGetType(lv_targetUnit) == "HeroProbius"))) {
UnitCreateEffectUnit(lv_ana, "AnaNanoBoostModifyUnitDummyFemale", lv_targetUnit);
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:1459
}
if (!(((PlayerHero(lv_localPlayer) == "Cho") || (PlayerHero(lv_localPlayer) == "Gall")))) {
return false;
}
mods/heromods/chogall.stormmod — base.stormdata/LibHCHO.galaxy:1459
}
if (!(((PlayerHero(lv_localPlayer) == "Cho") || (PlayerHero(lv_localPlayer) == "Gall")))) {
return false;
}
mods/heromods/firebat.stormmod — base.stormdata/LibHFIR.galaxy:240
}
if ((PlayerHero(lv_bunkerDropPassengerPlayer) == "LostVikings")) {
libGame_gf_ControlGroupsExitVehicleLostVikings(lv_bunkerDropTurretUnit, lv_bunkerDropPassengerUnit, lv_bunkerDropPassengerPlayer);
}
mods/heromods/firebat.stormmod — base.stormdata/LibHFIR.galaxy:244
}
if ((PlayerHero(lv_bunkerDropPassengerPlayer) == "Samuro") && (PlayerHasTalent(lv_bunkerDropPassengerPlayer, "SamuroHeroicAbilityIllusionMaster") == true)) {
libGame_gf_ControlGroupsExitVehicleSamuro(lv_bunkerDropTurretUnit, lv_bunkerDropPassengerUnit, lv_bunkerDropPassengerPlayer);
}
mods/heromods/maiev.stormmod — base.stormdata/LibHMAI.galaxy:85
// Conditions
if (testConds) {
if (!((PlayerHero(lv_respecPlayer) == "Maiev"))) {
return false;
}
mods/heromods/varian.stormmod — base.stormdata/LibHVAR.galaxy:204
}
if (!((PlayerHero(libGame_gf_HeroParticipatedInNPCTakedownKillingPlayer()) == "Varian"))) {
return false;
}