Background for Skyrim SE
Member of the StorageUtil script
intfunctionIntListRemove(FormObjKey, stringKeyName, intvalue, boolallInstances=false)NativeGlobal

Description

Documentation Comment

Remove a previously added int/float/string/Form value from a list on form
or globally and return how many instances of this value were removed.

ObjKey: form to remove from. Set none to remove global value.
KeyName: name of value.
value: value to remove.
[optional] allowInstances: remove all instances of this value in a list.


Caveats


Parameters

FormObjKey

stringKeyName

intvalue

boolallInstances=false


Examples

Auto-Generated Example

Form myForm__ObjKey
string myString__KeyName
int myInt__value
bool myBool__allInstances

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