Description
Wiki Description
Sets a string 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
stringvalue
CK Wiki Description
The value to give it
Examples
; Set the "sRandomSetting" in the "[CoolSettings]" section to "winner"
Utility.SetINIString("sRandomSetting:CoolSettings", "winner")Auto-Generated Example
string myString__ini
string myString__value
Utility.SetINIString(myString__ini, myString__value)Related Pages
- Utility
- Utility.GetINIBool(...)
- Utility.SetINIBool(...)
- Utility.GetINIFloat(...)
- Utility.SetINIFloat(...)
- Utility.GetINIInt(...)
- Utility.SetINIInt(...)
- Utility.GetINIString(...)
- INI files
