Background for Skyrim SE
Member of the PapyrusUtilEx script
intfunctionCountInArray(stringakHandle, stringsScriptName, stringsArrayPropertyName, intindex=-1)NativeGlobal

Description

Documentation Comment

Returns the number of instances of the element at the index that the array contains.
A value of -1 for the index (default) means the last element in the array.


Caveats


Parameters

stringakHandle

stringsScriptName

stringsArrayPropertyName

intindex=-1


Examples

Auto-Generated Example

string myString__akHandle
string myString__sScriptName
string myString__sArrayPropertyName
int myInt__index

int returnedValue = PapyrusUtilEx.CountInArray(myString__akHandle, myString__sScriptName, myString__sArrayPropertyName, myInt__index)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.