GetINIInt - Utility

SKSE Member of: UI Script

Minimum required SKSE Version: 1.04.02 Member of: Utility Script

Gets an int INI setting's value.

SyntaxEdit

Function GetINIInt(String ini) Native Global

ParametersEdit

ini: The ini setting to get

Return ValueEdit

Returns the value of the specified int INI setting.

NotesEdit

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).

ExamplesEdit

Int iNumPixels = Utility.GetIniInt("iSize H:Display") * Utility.GetIniInt("iSize W:Display") ; How many pixels?

See AlsoEdit