Mod:Creation Kit/FindInReferenceAliasArray - CommonArrayFunctions

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Member of: Mod:Creation Kit/CommonArrayFunctions Script

Finds the reference in the alias array and returns the index (or < 0 if not found)

Parameters

 * ObjectToCheck: The reference to look for
 * ArrayToCheck: The aliases to look in

Return Value

 * Index of the alias containing the object.
 * < 0 if the object was none, the array was none, the array was empty, or the object wasn't found.