SetGameSettingInt - Game

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Game Script

Minimum required SKSE Version: 1.06.00

Modifies the value of integer Game Settings. (This function requires SKSE)

Syntax[edit | edit source]

Function SetGameSettingInt(String setting, Int value) Global Native

Parameters[edit | edit source]

  • Setting: The Game Setting to modify
  • Value: The desired integer value

Return Value[edit | edit source]

None

Examples[edit | edit source]

Game.SetGameSettingInt("iMaxPlayerRunes", 3)

Notes[edit | edit source]

  • Edits to Game Settings are not saved. While they'll persist across consecutive save loads during the same game session, they'll be wiped when the game closes and will revert to their normal values the next time the game is loaded. One can maintain such edits via a maintenance function, reapplying the changes when necessary.

See Also[edit | edit source]