# Set Talent Tree Selection Panel Dismiss Allowed
Grammar — Set Talent Tree Selection Panel Dismiss Allowed(allowed)
Flags —Native
|Action
This prevents the player from being able to close the Talent Tree Selection Panel
# Arguments
bool
<preset::AllowDisallowOption> — Allowed
Returns — void
native void SetTalentTreeSelectionPanelDismissAllowed(
bool inAllowed,
);
# 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/tutorialveteran.stormmap/MapScript.galaxy:734
libStEx_gf_TurnCinematicCameraOnOff(lp_player, lp_onOff);
if ((lp_onOff == true)) {
SetTalentTreeSelectionPanelDismissAllowed(false);
}
else {
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:737
}
else {
SetTalentTreeSelectionPanelDismissAllowed(true);
}
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:7952
CameraApplyInfo(libStEx_gv_pLAYER_01_USER, CameraInfoFromId(1646), 4.0, -1, 10.0, true);
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
SetTalentTreeSelectionPanelDismissAllowed(false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
if ((GameIsTestMap(true) == true)) {
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8059
gv_intro_CleanupStarted = true;
SetTalentTreeSelectionPanelDismissAllowed(true);
UnitPauseAll(false);
autoC535AB02_g = gv_cinematicTempUnits;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8241
CameraApplyInfo(libStEx_gv_pLAYER_01_USER, CameraInfoFromId(352), (SoundLengthSync(SoundLink(ConversationDataGetSound("TutorialVO|Line00619", false), c_soundIndexAny))+SoundLengthSync(SoundLink(ConversationDataGetSound("TutorialVO|Line00620", false), c_soundIndexAny))+1-2), -1, 10.0, true);
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
SetTalentTreeSelectionPanelDismissAllowed(false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
gv_cinematicCompleted = false;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8335
}
SetTalentTreeSelectionPanelDismissAllowed(true);
RegionPlayableMapSet(RegionFromId(12));
if ((gv__1C_VallaLevelUp != null)) {
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8487
CameraApplyInfo(libStEx_gv_pLAYER_01_USER, CameraInfoFromId(55), 0.0, -1, 10.0, true);
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
SetTalentTreeSelectionPanelDismissAllowed(false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
gv_cinematicCompleted = false;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8566
}
SetTalentTreeSelectionPanelDismissAllowed(true);
RegionPlayableMapSet(RegionFromId(1));
if ((gv__1D_KeepReticle != null)) {
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8846
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
Wait(1.0, c_timeGame);
SetTalentTreeSelectionPanelDismissAllowed(false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
gv_cinematicCompleted = false;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:9068
}
SetTalentTreeSelectionPanelDismissAllowed(true);
RegionPlayableMapSet(RegionFromId(21));
auto6FD88AEC_g = gv__2B_CineMinions;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:734
libStEx_gf_TurnCinematicCameraOnOff(lp_player, lp_onOff);
if ((lp_onOff == true)) {
SetTalentTreeSelectionPanelDismissAllowed(false);
}
else {
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:737
}
else {
SetTalentTreeSelectionPanelDismissAllowed(true);
}
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:7952
CameraApplyInfo(libStEx_gv_pLAYER_01_USER, CameraInfoFromId(1646), 4.0, -1, 10.0, true);
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
SetTalentTreeSelectionPanelDismissAllowed(false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
if ((GameIsTestMap(true) == true)) {
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8059
gv_intro_CleanupStarted = true;
SetTalentTreeSelectionPanelDismissAllowed(true);
UnitPauseAll(false);
autoC535AB02_g = gv_cinematicTempUnits;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8241
CameraApplyInfo(libStEx_gv_pLAYER_01_USER, CameraInfoFromId(352), (SoundLengthSync(SoundLink(ConversationDataGetSound("TutorialVO|Line00619", false), c_soundIndexAny))+SoundLengthSync(SoundLink(ConversationDataGetSound("TutorialVO|Line00620", false), c_soundIndexAny))+1-2), -1, 10.0, true);
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
SetTalentTreeSelectionPanelDismissAllowed(false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
gv_cinematicCompleted = false;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8335
}
SetTalentTreeSelectionPanelDismissAllowed(true);
RegionPlayableMapSet(RegionFromId(12));
if ((gv__1C_VallaLevelUp != null)) {
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8487
CameraApplyInfo(libStEx_gv_pLAYER_01_USER, CameraInfoFromId(55), 0.0, -1, 10.0, true);
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
SetTalentTreeSelectionPanelDismissAllowed(false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
gv_cinematicCompleted = false;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8566
}
SetTalentTreeSelectionPanelDismissAllowed(true);
RegionPlayableMapSet(RegionFromId(1));
if ((gv__1D_KeepReticle != null)) {
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8846
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
Wait(1.0, c_timeGame);
SetTalentTreeSelectionPanelDismissAllowed(false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
gv_cinematicCompleted = false;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:9068
}
SetTalentTreeSelectionPanelDismissAllowed(true);
RegionPlayableMapSet(RegionFromId(21));
auto6FD88AEC_g = gv__2B_CineMinions;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2733
libGame_gv_gateTimerReady = true;
SetTalentTreeSelectionPanelDismissAllowed(true);
return true;
}