Mod:Creation Kit/FindRandomReferenceOfAnyTypeInListFromRef - Game

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

Finds a random reference of any of the types in the list from the given reference location and within the given radius.

Parameters

 * arBaseObjectsA: The list of valid base objects to look for
 * arCenter: The reference to use as a center of the search
 * afRadius: Maximum distance from center to look for a reference

Return Value
A random reference of of any of the types within the radius or the center reference, none if none was found.