Background for Skyrim SE
Member of the JValue script
boolfunctionsolveFltSetter(intobject, stringpath, floatvalue, boolcreateMissingKeys=false)NativeGlobal

Description

Documentation Comment

Attempts to assign the value. If @createMissingKeys is False it may fail to assign - if no such path exist.
With 'createMissingKeys=true' it creates any missing path element: solveIntSetter(map, ".keyA.keyB", 10, true) on empty JMap creates {keyA: {keyB: 10}} structure


Caveats


Parameters

intobject

stringpath

floatvalue

boolcreateMissingKeys=false


Examples

Auto-Generated Example

int myInt__object
string myString__path
float myFloat__value
bool myBool__createMissingKeys

bool returnedValue = JValue.solveFltSetter(myInt__object, myString__path, myFloat__value, myBool__createMissingKeys)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.