- Found in:
- PapyrusUtil
Description
Documentation Comment
Fills the given input array with the values of the list on form or globally,
will fill the array until either the array or list runs out of valid indexes
ObjKey: form to find value on. Set none to find global list value.
KeyName: name of list.
slice[]: an initialized array set to the slice size you want, i.e. int[] slice = new int[10]
[optional] startIndex: the starting list index you want to start filling your slice array with
Parameters
FormObjKey
stringKeyName
int[]slice
intstartIndex=0
Examples
Auto-Generated Example
Form myForm__ObjKey
string myString__KeyName
int[] myIntArray__slice
int myInt__startIndex
StorageUtil.IntListSlice(myForm__ObjKey, myString__KeyName, myIntArray__slice, myInt__startIndex)