Caveats
CK Wiki - Notes
This function can only change the values of pre-defined ini settings in Fallout4.ini and Fallout4Prefs.ini and only during the current game session. It cannot create new settings and does not save them to an ini file. There is also no guarantee the game will ever read the value again past initial load, so changing it may have no effect.
Parameters
stringini
CK Wiki Description
The .ini setting name and section. For example, iSettingName:SectionName.
intvalue
CK Wiki Description
The integer value to assign the setting.
Examples
; Set the "iRandomSetting" in the "[CoolSettings]" section to 5
Utility.SetINIInt("iRandomSetting:CoolSettings", 5)Auto-Generated Example
string myString__ini
int myInt__value
Utility.SetINIInt(myString__ini, myInt__value)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
