Background for Skyrim SE
Member of the Utility script
intfunctionGetINIInt(stringini)NativeGlobal

Description

Wiki Description

Gets an int INI setting's value.


Caveats

CK Wiki - Notes

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


Parameters

stringini


Examples

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

Auto-Generated Example

string myString__ini

int returnedValue = Utility.GetINIInt(myString__ini)

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.