Difference between revisions of "Talk:FindClosestActor - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Cipscis
imported>Vapid
(→‎quick note: new section)
Line 7: Line 7:


: -- [[User:Cipscis|Cipscis]] 07:53, 11 February 2012 (EST)
: -- [[User:Cipscis|Cipscis]] 07:53, 11 February 2012 (EST)
== quick note ==
Both 'FindClosestActor' and 'FindClosestActorFromRef' can return 'Player', which means they can't be used to find the nearest actor to the player.

Revision as of 16:56, 19 February 2012

Closest to player?

This is a global function, so it's not called on anything in particular. Is it finding the closest actor to the player, perhaps? Can anyone shed any light on this?

-- Cipscis 07:52, 11 February 2012 (EST)

Ignore that - upon rereading the page it's painfully obvious how this function works. I somehow missed that it takes coordinates as parameters.
-- Cipscis 07:53, 11 February 2012 (EST)

quick note

Both 'FindClosestActor' and 'FindClosestActorFromRef' can return 'Player', which means they can't be used to find the nearest actor to the player.