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

Description

Documentation Comment

Set a value in list by index on form or globally.
This will return the previous value or 0 if there was a problem.

ObjKey: form to set value on. Set none to set global list value.
KeyName: name of list.
index: index of value in the list.
value: value to set to.


Caveats


Parameters

FormObjKey

stringKeyName

intindex

intvalue


Examples

Auto-Generated Example

Form myForm__ObjKey
string myString__KeyName
int myInt__index
int myInt__value

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