Difference between revisions of "FindRandomReferenceOfAnyTypeInListFromRef - Game"

imported>Tox2ik
imported>Tox2ik
Line 14: Line 14:
*arBaseObjectsA: The list of valid base objects to look for
*arBaseObjectsA: The list of valid base objects to look for
*arCenter: The [[ObjectReference Script|reference]] to use as a center of the search.  
*arCenter: The [[ObjectReference Script|reference]] to use as a center of the search.  
*afRadius: Maximum distance from center to look for a [[ObjectReference Script|reference]]. The unit of this  
*afRadius: Maximum distance from center to look for a [[ObjectReference Script|reference]]. The unit of this parameter is comparatively much shorter than the radius of a cloak spell or the feet parameter given to "target actor" and "target location" spells. Try starting with a value of 400.
parameter is comparatively much shorter than the radius of a cloak spell or the feet parameter given to "target actor" and "target
location" spells. Try starting with a value of 400.


== Return Value ==
== Return Value ==
Anonymous user