Difference between revisions of "FindClosestReferenceOfTypeFromRef - Game"
FindClosestReferenceOfTypeFromRef - Game (edit)
Revision as of 08:49, 18 May 2017
, 08:49, 18 May 2017→Notes
imported>Plplecuyer (→Syntax) |
imported>Tania m (→Notes) |
||
(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 == |