Difference between revisions of "FindClosestReferenceOfTypeFromRef - Game"

m
imported>Plplecuyer
 
imported>Tania
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
ObjectReference closestDiamond = Game.FindClosestReferenceOfTypeFromRef(Diamond, Game.GetPlayer(), 5.0)
ObjectReference closestDiamond = Game.FindClosestReferenceOfTypeFromRef(Diamond, Game.GetPlayer(), 5.0)
</source>
</source>
== Notes ==
*if arBaseObject is the same type as arCenter, this function will return arCenter instead. In other words arCenter is not excluded from the the search.


== See Also ==
== See Also ==
Anonymous user