Difference between revisions of "FindClosestReferenceOfAnyTypeInListFromRef - Game"

m
Reverting test edit
imported>Chesko
(Removed confusing return function from syntax, as other functions on this wiki do not follow that format.)
imported>Cipscis
m (Reverting test edit)
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
ObjectReference Function FindClosestReferenceOfAnyTypeInListFromRef(FormList arBaseObjects, ObjectReference arCenter, \
ObjectReference Function FindClosestReferenceOfAnyTypeInListFromRef(FormList arBaseObjects, ObjectReference arCenter, float afRadius) global
  float afRadius) global
</source>
</source>


== Parameters ==
== Parameters ==
* arBaseObjectsA: The list of valid base objects to look for
* arBaseObjects: The list of valid base objects to look for
* arCenter: The [[ObjectReference Script|reference]] to use as the center point of the search
* arCenter: The [[ObjectReference Script|reference]] to use as the center point of the search
* afRadius: Maximum distance from center to look for a reference
* afRadius: Maximum distance from center to look for a reference
Anonymous user