Mod:Creation Kit/RFindStruct - Array

Member of: All Arrays

Locates a particular value in a struct inside an array and returns the index, starting from the end of the array, and moving to the beginning

Parameters

 * asVarName: The name of the struct variable to compare with
 * akElement: The element to locate
 * aiStartIndex: Where to start the search
 * Default: -1

Return Value
The index of the struct in the array with the matching value, or a negative value if it was not found.