GetINIString - Utility

Revision as of 10:41, 10 November 2012 by imported>JustinOther (→‎Examples: Poofread)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: UI Script

Minimum required SKSE Version: 1.04.02 Member of: Utility Script

Gets a string INI setting's value.

SyntaxEdit

Function GetINIBool(String ini) Native Global

ParametersEdit

ini: The ini setting to get

Return ValueEdit

Returns the value of the specified string 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

Utility.GetINIString("sLanguage:General") ; Get the value of "sLanguage" in the "[General]" section

See AlsoEdit