Background for Skyrim SE
Member of the StorageUtil script
intfunctionPluckIntValue(FormObjKey, stringKeyName, intmissing=0)NativeGlobal

Description

Documentation Comment

Plucks a previously saved int/float/string/Form value on form or globally.
Returning the value stored, then removing it from storage.

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


Caveats


Parameters

FormObjKey

stringKeyName

intmissing=0


Examples

Auto-Generated Example

Form myForm__ObjKey
string myString__KeyName
int myInt__missing

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