- Found in:
- PapyrusUtil
Description
Documentation Comment
Add an int/float/string/Form to a list on form or globally and return
the value's new index. Index can be -1 if we were unable to add
the value.
ObjKey: form to add to. Set none to add global value.
KeyName: name of value.
value: value to add.
[optional] allowDuplicate: allow adding value to list if this value already exists in the list.
Caveats
Parameters
Examples
Auto-Generated Example
Form myForm__ObjKey
string myString__KeyName
int myInt__value
bool myBool__allowDuplicate
int returnedValue = StorageUtil.IntListAdd(myForm__ObjKey, myString__KeyName, myInt__value, myBool__allowDuplicate)