Background for Skyrim SE
Member of the StorageUtil script
intfunctionAdjustIntValue(FormObjKey, stringKeyName, intamount)NativeGlobal

Description

Documentation Comment

Get previously saved int/float/string/Form value on form or globally.

ObjKey: form to get from. Set none to get global value.
KeyName: name of value.
amount: +/- the amount to adjust the current value by

given keys will be initialized to given amount if it does not exist


Caveats


Parameters

FormObjKey

stringKeyName

intamount


Examples

Auto-Generated Example

Form myForm__ObjKey
string myString__KeyName
int myInt__amount

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