Mod:Creation Kit/FindAllReferencesOfType - ObjectReference

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

Finds all references of any of the objects in the list in the loaded area within the given radius of the calling ref.

Parameters

 * arObjectOrList: Base Object to look for or form list of objects to look for
 * afRadius: Maximum distance from ref to look for a reference

Return Value
An array of references to any of the valid types within the radius, empty if none was found.