Mod:Creation Kit/FindRandomActor - Game

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

Finds a random actor within a given radius of a location.

Parameters

 * 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 an actor

Return Value
A random actor found, none if no actor is within the search position and radius.