# HeroTalent Tree Selected
Flags —
Native
|Event
# Arguments
int
— Player
Returns — void
native void TriggerAddEventHeroTalentTreeSelected(
trigger t,
int player,
);
# 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/startingexperience/tutorial01.stormmap/MapScript.galaxy:2232
void gt_TalentsPicked_Init () {
gt_TalentsPicked = TriggerCreate("gt_TalentsPicked_Func");
TriggerAddEventHeroTalentTreeSelected(gt_TalentsPicked, c_playerAny);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:3318
gt__1A_TalentsPicked = TriggerCreate("gt__1A_TalentsPicked_Func");
TriggerEnable(gt__1A_TalentsPicked, false);
TriggerAddEventHeroTalentTreeSelected(gt__1A_TalentsPicked, c_playerAny);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:2232
void gt_TalentsPicked_Init () {
gt_TalentsPicked = TriggerCreate("gt_TalentsPicked_Func");
TriggerAddEventHeroTalentTreeSelected(gt_TalentsPicked, c_playerAny);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:3318
gt__1A_TalentsPicked = TriggerCreate("gt__1A_TalentsPicked_Func");
TriggerEnable(gt__1A_TalentsPicked, false);
TriggerAddEventHeroTalentTreeSelected(gt__1A_TalentsPicked, c_playerAny);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:20425
void libGame_gt_TalentsChoiceSelected_Init () {
libGame_gt_TalentsChoiceSelected = TriggerCreate("libGame_gt_TalentsChoiceSelected_Func");
TriggerAddEventHeroTalentTreeSelected(libGame_gt_TalentsChoiceSelected, c_playerAny);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2741
libStEx_gt_SE_TrainingModeTalentsPicked = TriggerCreate("libStEx_gt_SE_TrainingModeTalentsPicked_Func");
TriggerEnable(libStEx_gt_SE_TrainingModeTalentsPicked, false);
TriggerAddEventHeroTalentTreeSelected(libStEx_gt_SE_TrainingModeTalentsPicked, c_playerAny);
}