Background for Skyrim SE
Member of the StorageUtil script
voidfunctionIntListSlice(FormObjKey, stringKeyName, int[]slice, intstartIndex=0)NativeGlobal

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

  1. FormObjKey

  2. stringKeyName

  3. int[]slice

  4. 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)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.