Background for Skyrim SE
Member of the DbMiscFunctions script
intfunctionGetIntFromFile(stringStringKey, stringFileContents="", stringFilePath="", stringStartKey="", stringEndKey="", intDefault=-1, intStartIndex=0)Global

Description

Documentation Comment

same as GetStringFromFile but returns value as int.


Caveats


Parameters

stringStringKey

stringFileContents=""

stringFilePath=""

stringStartKey=""

stringEndKey=""

intDefault=-1

intStartIndex=0


Examples

Auto-Generated Example

string myString__StringKey
string myString__FileContents
string myString__FilePath
string myString__StartKey
string myString__EndKey
int myInt__Default
int myInt__StartIndex

int returnedValue = DbMiscFunctions.GetIntFromFile(myString__StringKey, myString__FileContents, myString__FilePath, myString__StartKey, myString__EndKey, myInt__Default, myInt__StartIndex)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.