- Found in:
- PapyrusUtil
Description
Documentation Comment
Adjust the existing value of a list by the given amount.
ObjKey: form to set value on. Set none to set global list value.
KeyName: name of list.
index: index of value in the list.
amount: +/- the amount to adjust the lists current index value by.
returns 0 if index does not exists
Caveats
Parameters
Examples
Auto-Generated Example
Form myForm__ObjKey
string myString__KeyName
int myInt__index
int myInt__amount
int returnedValue = StorageUtil.IntListAdjust(myForm__ObjKey, myString__KeyName, myInt__index, myInt__amount)