Mod:Creation Kit/SetINIInt - Utility

Member of: Mod:Creation Kit/Utility Script

Sets an integer value in the Fallout 4 Mod:Creation Kit/Initialization Files.

Syntax
Function SetINIInt(string ini, int value) native global debugOnly

Parameters

 * ini: The  setting name and section. For example,.
 * value: The integer value to assign the setting.

Return Value
None

Examples
Utility.SetINIInt("iRandomSetting:CoolSettings", 5)
 * Set the "iRandomSetting" in the "[CoolSettings]" section to 5