# Set Talent Tree Pause Game When Selection Panel Shown

Grammar — Set Talent Tree Pause Game When Selection Panel Shown(pauseGame)
FlagsNative | Action

This will cause the game to be paused when the Talent Tree Selection Panel is visible.

# Arguments

  • bool — Pause Game

Returns — void

native void SetTalentTreePauseGameWhenSelectionPanelShown(
	bool inPauseGame,
);

Category: Talent Tree / Basic

# Examples

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:2249

    libGame_gv_gateTimerReady = true;
    Wait(0.25, c_timeGame);
    SetTalentTreePauseGameWhenSelectionPanelShown(true);
    TriggerQueueEnter();
    UnitIssueOrder(gv_heroHealerTank, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(124123)), c_orderQueueReplace);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:292

    libGame_gv_minion_CapCatapults = true;
    SetTalentsEnabled(false);
    SetTalentTreePauseGameWhenSelectionPanelShown(true);
    libGame_gv_heroSpawnReady = false;
    libGame_gv_pickingHeroesCallback = gt_InitPlayers;

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:2137

    DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel");
    DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorBottomRight, 50, 580);
    SetTalentTreePauseGameWhenSelectionPanelShown(false);
    SetTalentTreeSelectionPanelAutoShow(false);
    libUIUI_gf_UIPartyFrameShowHidePartyFramePanelForPlayer(false, libStEx_gv_pLAYER_01_USER);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmapMapScript.galaxy:2249

    libGame_gv_gateTimerReady = true;
    Wait(0.25, c_timeGame);
    SetTalentTreePauseGameWhenSelectionPanelShown(true);
    TriggerQueueEnter();
    UnitIssueOrder(gv_heroHealerTank, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(124123)), c_orderQueueReplace);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmapMapScript.galaxy:292

    libGame_gv_minion_CapCatapults = true;
    SetTalentsEnabled(false);
    SetTalentTreePauseGameWhenSelectionPanelShown(true);
    libGame_gv_heroSpawnReady = false;
    libGame_gv_pickingHeroesCallback = gt_InitPlayers;

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:2137

    DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel");
    DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorBottomRight, 50, 580);
    SetTalentTreePauseGameWhenSelectionPanelShown(false);
    SetTalentTreeSelectionPanelAutoShow(false);
    libUIUI_gf_UIPartyFrameShowHidePartyFramePanelForPlayer(false, libStEx_gv_pLAYER_01_USER);

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

    }

    SetTalentTreePauseGameWhenSelectionPanelShown(true);
    CinematicMode(PlayerGroupAll(), false, 0.0);
    libStEx_gf_FreezeUnfreezeAllUnits(libStEx_ge_FreezeOptions_Unfrezze);

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


    TriggerEnable(TriggerGetCurrent(), false);
    SetTalentTreePauseGameWhenSelectionPanelShown(true);
    return true;
}