Background for Skyrim SE
Member of the StorageUtil script
intfunctionClearObjIntValuePrefix(FormObjKey, stringPrefixKey)NativeGlobal

Description

Documentation Comment

Clears each type of of any KeyName that starts with a given string prefix on specific objects.
Returns the number of values/lists that were unset.

ObjKey: form to perform the prefix clear on.
PrefixKey: The string a KeyName must start with to be cleared. Cannot be empty.


Caveats


Parameters

FormObjKey

stringPrefixKey


Examples

Auto-Generated Example

Form myForm__ObjKey
string myString__PrefixKey

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