Difference between revisions of "FindClosestActor - Game"

262 bytes added ,  04:43, 2 September 2021
no edit summary
imported>Vitamant
m (1 revision: Clobber re-import by Henning)
 
imported>Scrivener07
 
Line 24: Line 24:
Actor closest = Game.FindClosestActor(0.0, 0.0, 0.0, 5.0)
Actor closest = Game.FindClosestActor(0.0, 0.0, 0.0, 5.0)
</source>
</source>
== Notes ==
* Works as expected, however if the coordinates provided are from an actor(using the getpositionXYZ) with no offsets, the return value will be that of the actor. In other words, the closest actor at that's actor's position will be the actor itself.


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