# Set Talent Upgrade Required
Grammar — Set Talent Upgrade Required(required)
Flags —Native
|Action
# Arguments
bool
— Required
Returns — void
native void SetTalentUpgradeRequired(bool inRequired);
# 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/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:351
libGame_gv_players[gv_pLAYER_AI_Ally_C].lv_heroIndex = 0;
libGame_gv_players[gv_pLAYER_AI_Enemy_C].lv_heroIndex = 0;
SetTalentUpgradeRequired(false);
libGame_gf_MinionPauseUnpauseMinionScaling(true);
libGame_gv_scalingTicks = 7;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:351
libGame_gv_players[gv_pLAYER_AI_Ally_C].lv_heroIndex = 0;
libGame_gv_players[gv_pLAYER_AI_Enemy_C].lv_heroIndex = 0;
SetTalentUpgradeRequired(false);
libGame_gf_MinionPauseUnpauseMinionScaling(true);
libGame_gv_scalingTicks = 7;