Mod:Creation Kit/FindRandomReferenceOfAnyTypeInList - Game

Member of: Game Script

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

Parameters

 * arBaseObjectsA: The list of valid base objects to look for
 * afX: center of the search, X component
 * afY: center of the search, Y component
 * afZ: center of the search, Z component
 * afRadius: Maximum distance from center to look for a reference

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