SetLevelUpMenuCurrentPage
From GECK
A function added by the ShowOff NVSE Plugin version 1.20.
Contents
Description
Sets the current page that the Level-Up menu is on. The possible page values are:
0 : Skills page 1 : Perks page 2 : Close the menu
Returns true (1) for a successful page change, false (0) if the menu was not open OR if the page is the same as the current page.
This function can only be used in a script, not as a Condition.
Syntax
(hasPageChanged:bool) SetLevelUpMenuCurrentPage page:int{0/1/2}
Or:
(hasPageChanged:bool) SetLevelUpMenuPage page:int{0/1/2}
Example
SetLevelUpMenuPage 2
Forces the current level-up menu to close.
Notes
- If there are no perks available to choose from, changing the page to the Perks page results in the menu closing.
- If bPreviewPerksOnLevelUp is NOT enabled in lStewieAl's Tweaks, and the player is set to not receive any perks this level when internally checking the iLevelsPerPerk gamesetting, the menu will close when attempting to enter the Perks page.