Description
Wiki Description
Sets a boolean INI setting's value.
Caveats
CK Wiki - Notes
This function can only change the values of pre-defined ini settings in Skyrim.ini and SkyrimPrefs.ini and only during the current game session. It cannot create new settings and does not save them to an ini file.
Parameters
stringini
CK Wiki Description
The ini setting to set
boolvalue
CK Wiki Description
The value to give it
Examples
; Set the "bRandomSetting" in the "[CoolSettings]" section to true
Utility.SetINIBool("bRandomSetting:CoolSettings", true)Auto-Generated Example
string myString__ini
bool myBool__value
Utility.SetINIBool(myString__ini, myBool__value)Related Pages
- Utility
- Utility.GetINIBool(...)
- Utility.GetINIFloat(...)
- Utility.SetINIFloat(...)
- Utility.GetINIInt(...)
- Utility.SetINIInt(...)
- Utility.GetINIString(...)
- Utility.SetINIString(...)
- INI files
