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

Description

Documentation Comment

Plucks a value from list by index on form or globally.
The index is removed from the list's storage after returning it's value.

ObjKey: form to pluck value from. Set none to get global list value.
KeyName: name of list.
index: index of value in the list.
[optional] missing: if index has not been set, return this value instead.


Caveats


Parameters

FormObjKey

stringKeyName

intindex

intmissing


Examples

Auto-Generated Example

Form myForm__ObjKey
string myString__KeyName
int myInt__index
int myInt__missing

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