Background for Skyrim SE
Member of the StorageUtil script
intfunctionSetIntValue(FormObjKey, stringKeyName, intvalue)NativeGlobal

Description

Documentation Comment

Set int/float/string/Form value globally or on any form by name and return
the value passed, or as uninitialized variable if invalid keys given.

ObjKey: form to save on. Set none to save globally.
KeyName: name of value.
value: value to set to the given keys. If zero, empty, or none are given, the key will be unset.


Caveats


Parameters

FormObjKey

stringKeyName

intvalue


Examples

Auto-Generated Example

Form myForm__ObjKey
string myString__KeyName
int myInt__value

int returnedValue = StorageUtil.SetIntValue(myForm__ObjKey, myString__KeyName, myInt__value)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.