GetINIFloat - Utility

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: UI Script

Minimum required SKSE Version: 1.04.02 Member of: Utility Script

Gets a float INI setting's value.

Syntax[edit | edit source]

Function GetINIFloat(String ini) Native Global

Parameters[edit | edit source]

ini: The ini setting to get

Return Value[edit | edit source]

Returns the value of the specified float INI setting.

Notes[edit | edit source]

This works for Bethesda created settings only, whether in Skyrim.ini, SkyrimPrefs.ini, or YourLoadedPlugin.ini. Note that, in that order, each INI will override the setting(s) of the previous INI file(s).

Examples[edit | edit source]

Utility.GetINIfloat("fMouseHeadingSensitivity:Controls") ; Get the value of "fMouseHeadingSensitivity" in the "[Controls]" section

See Also[edit | edit source]