# Talent Tree Clear Tier
Flags —
Native
|Action
# Arguments
int
— Playerint
— Tier
Returns — void
native void TalentTreeClearTier(int inPlayer, int inTier);
# Related
Category: Talent Tree / Basic
- Get Hero Talent Link —
string
<gamelink::Talent> — TalentTreeGetHeroTalentLink - Can Select Hero Talent Tree —
bool
— TalentTreeCanSelectHeroTalentTree - Set Selected Hero Talent Tree —
void
— TalentTreeSetSelectedHeroTalentTree - Get Selected Hero Talent Tree —
int
— TalentTreeGetSelectedHeroTalentTree - Get Selected Hero Talent Tree Column —
int
— TalentTreeGetSelectedHeroTalentTreeColumn - Talent Tree Is Allowed —
bool
— TalentTreeAllowed - Talent Tree Clear Tier —
void
— TalentTreeClearTier - Set Talent Tier Enabled —
void
— SetTalentTierEnabled - Set Talent Upgrade Required —
void
— SetTalentUpgradeRequired - Set Talents Enabled —
void
— SetTalentsEnabled - Set Talent Tree Selection Panel Dismiss Allowed —
void
— SetTalentTreeSelectionPanelDismissAllowed - Set Talent Tree Selection Panel Auto Show —
void
— SetTalentTreeSelectionPanelAutoShow - Set Talent Tree Pause Game When Selection Panel Shown —
void
— SetTalentTreePauseGameWhenSelectionPanelShown - Set Talent Tree Hero Level —
void
— SetTalentTreeHeroLevel - HeroTalent Tree Selected —
void
— TriggerAddEventHeroTalentTreeSelected - HeroTalent Tree Selection Panel Shown —
void
— TriggerAddEventHeroTalentTreeSelectionPanelShown - HeroTalent Tree Selection Panel Hidden —
void
— TriggerAddEventHeroTalentTreeSelectionPanelHidden
# Examples
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:11744
lv_itChoice = 1;
for ( ; ( (auto1D22FFB2_ai >= 0 && lv_itChoice <= auto1D22FFB2_ae) || (auto1D22FFB2_ai < 0 && lv_itChoice >= auto1D22FFB2_ae) ) ; lv_itChoice += auto1D22FFB2_ai ) {
TalentTreeClearTier(lp_player, lv_itChoice);
libGame_gv_talents_TalentChoices[lp_player][lv_itChoice].lv_selection = 0;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:1818
}
}
TalentTreeClearTier(lp_player, lp_tier);
libGame_gv_talents_TalentChoices[lp_player][lp_tier].lv_selection = 0;
libGame_gf_TalentsUpdateChoicePanelForPlayer(lp_player);