Background for Skyrim SE
Member of the Game script
voidfunctionSetGameSettingInt(stringsetting, intvalue)NativeGlobal

Description

Wiki Description

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


Caveats

CK Wiki - Notes

  • 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.

Parameters

stringsetting

CK Wiki Description

The Game Setting to modify

intvalue

CK Wiki Description

The desired integer value


Examples

Game.SetGameSettingInt("iMaxPlayerRunes", 3)

Auto-Generated Example

string myString__setting
int myInt__value

Game.SetGameSettingInt(myString__setting, myInt__value)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.