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

Description

Documentation Comment

Counts each type of of any KeyName that starts with a given string prefix on all objects.

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


Caveats


Parameters

FormObjKey

stringPrefixKey


Examples

Auto-Generated Example

Form myForm__ObjKey
string myString__PrefixKey

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