Background for Skyrim SE
Member of the Utility script
voidfunctionSetINIFloat(stringini, floatvalue)NativeGlobal

Description

Wiki Description

Sets a float INI setting's value.

Documentation Comment

Set the given INI by type


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

floatvalue

CK Wiki Description

The value to give it


Examples

; Set the "fRandomSetting" in the "[CoolSettings]" section to 10
Utility.SetINIFloat("fRandomSetting:CoolSettings", 10.0)

Auto-Generated Example

string myString__ini
float myFloat__value

Utility.SetINIFloat(myString__ini, myFloat__value)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.