Difference between revisions of "FindClosestReferenceOfAnyTypeInList - Game"

Jump to navigation Jump to search
Add notes about oddities with this function
imported>Jlundin
 
(Add notes about oddities with this function)
 
Line 26: Line 26:
ObjectReference closestGem = Game.FindClosestReferenceOfAnyTypeInList(GemList, 0.0, 0.0, 0.0, 5.0)
ObjectReference closestGem = Game.FindClosestReferenceOfAnyTypeInList(GemList, 0.0, 0.0, 0.0, 5.0)
</source>
</source>
== Notes ==
* This function appears to pull from a reference's editor positions, not the actual forms in the world. More testing is needed.
* Following, it appears to return the FormID of the placement, not the actual forms in the world (if their FormIDs differ). Once more, additional testing is needed.


== See Also ==
== See Also ==
68

edits

Navigation menu