# Set Talent Tree Pause Game When Selection Panel Shown
Grammar — Set Talent Tree Pause Game When Selection Panel Shown(pauseGame)
Flags —Native
|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,
);
# 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: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.stormmap/MapScript.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.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.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.stormmod/base.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.stormmod/base.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/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2719
}
SetTalentTreePauseGameWhenSelectionPanelShown(true);
CinematicMode(PlayerGroupAll(), false, 0.0);
libStEx_gf_FreezeUnfreezeAllUnits(libStEx_ge_FreezeOptions_Unfrezze);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2781
TriggerEnable(TriggerGetCurrent(), false);
SetTalentTreePauseGameWhenSelectionPanelShown(true);
return true;
}