# Set Talent Tree Selection Panel Dismiss Allowed

Grammar — Set Talent Tree Selection Panel Dismiss Allowed(allowed)
FlagsNative | Action

This prevents the player from being able to close the Talent Tree Selection Panel

# Arguments

Returns — void

native void SetTalentTreeSelectionPanelDismissAllowed(
	bool inAllowed,
);

Category: Talent Tree / Basic

# Examples

mods/heroes.stormmodbase.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.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:737

    }
    else {
        SetTalentTreeSelectionPanelDismissAllowed(true);
    }
}

mods/heroes.stormmodbase.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.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8059


    gv_intro_CleanupStarted = true;
    SetTalentTreeSelectionPanelDismissAllowed(true);
    UnitPauseAll(false);
    autoC535AB02_g = gv_cinematicTempUnits;

mods/heroes.stormmodbase.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.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8335

    }

    SetTalentTreeSelectionPanelDismissAllowed(true);
    RegionPlayableMapSet(RegionFromId(12));
    if ((gv__1C_VallaLevelUp != null)) {

mods/heroes.stormmodbase.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.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8566

    }

    SetTalentTreeSelectionPanelDismissAllowed(true);
    RegionPlayableMapSet(RegionFromId(1));
    if ((gv__1D_KeepReticle != null)) {

mods/heroes.stormmodbase.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.stormmodbase.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.stormmapMapScript.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.stormmapMapScript.galaxy:737

    }
    else {
        SetTalentTreeSelectionPanelDismissAllowed(true);
    }
}

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.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.stormmapMapScript.galaxy:8059


    gv_intro_CleanupStarted = true;
    SetTalentTreeSelectionPanelDismissAllowed(true);
    UnitPauseAll(false);
    autoC535AB02_g = gv_cinematicTempUnits;

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.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.stormmapMapScript.galaxy:8335

    }

    SetTalentTreeSelectionPanelDismissAllowed(true);
    RegionPlayableMapSet(RegionFromId(12));
    if ((gv__1C_VallaLevelUp != null)) {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.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.stormmapMapScript.galaxy:8566

    }

    SetTalentTreeSelectionPanelDismissAllowed(true);
    RegionPlayableMapSet(RegionFromId(1));
    if ((gv__1D_KeepReticle != null)) {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.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.stormmapMapScript.galaxy:9068

    }

    SetTalentTreeSelectionPanelDismissAllowed(true);
    RegionPlayableMapSet(RegionFromId(21));
    auto6FD88AEC_g = gv__2B_CineMinions;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2733


    libGame_gv_gateTimerReady = true;
    SetTalentTreeSelectionPanelDismissAllowed(true);
    return true;
}