Difference between revisions of "FindClosestReferenceOfAnyTypeInListFromRef - Game"

m
Reverting test edit
imported>Templar-von-Midgard
(FindClosestReferenceOfAnyTypeInList(arBaseObjects -> FindClosestReferenceOfAnyTypeInList(arBaseObjectsA)
imported>Cipscis
m (Reverting test edit)
 
(5 intermediate revisions by 3 users not shown)
Line 7: Line 7:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
ObjectReference Function FindClosestReferenceOfAnyTypeInListFromRef(FormList arBaseObjectsA, ObjectReference arCenter, \
ObjectReference Function FindClosestReferenceOfAnyTypeInListFromRef(FormList arBaseObjects, ObjectReference arCenter, float afRadius) global
  float afRadius) global
return FindClosestReferenceOfAnyTypeInList(arBaseObjectsA, arCenter.X, arCenter.Y, arCenter.Z, afRadius)
endFunction
</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