Mod:Creation Kit/FindClosestActor - Game

Member of: Game Script

Finds the closest 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
The closest actor found, none if none.