Mod:Creation Kit/FindRandomReferenceOfTypeFromRef - Game

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

Finds a random reference of the given type from the center of the target reference and within the given radius.

Parameters

 * arBaseObject: The type of base object to look for
 * arCenter: The reference to use as the center of the search
 * afRadius: Maximum distance from center to look for a reference

Return Value
A random reference of that type within the radius, none if none was found.