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

Description

Documentation Comment

same as GetStringFromFile but returns value as float.


Caveats


Parameters

stringStringKey

stringFileContents=""

stringFilePath=""

stringStartKey=""

stringEndKey=""

floatDefault=-1

intStartIndex=0


Examples

Auto-Generated Example

string myString__StringKey
string myString__FileContents
string myString__FilePath
string myString__StartKey
string myString__EndKey
float myFloat__Default
int myInt__StartIndex

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