- Found in:
- SKSE
Description
Wiki Description
Modifies the value of boolean Game Settings. (This function requires SKSE)
Caveats
CK Wiki - Notes
- Boolean settings are treated as integers and set to 0 or 1 rather than True or False.
- There is no GetGameSettingBool.
- 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
boolvalue
CK Wiki Description
The desired boolean value
Examples
Game.SetGameSettingBool("bRegenNPCMagickaDuringCast", True)Auto-Generated Example
string myString__setting
bool myBool__value
Game.SetGameSettingBool(myString__setting, myBool__value)Related Pages
- Game
- Game Settings
- Game.GetGameSettingFloat(...)
- Game.SetGameSettingFloat(...)
- Game.GetGameSettingInt(...)
- Game.SetGameSettingInt(...)
- Game.GetGameSettingString(...)
- Game.SetGameSettingString(...)
