Difference between revisions of "Talk:FindClosestActor - Game"
Jump to navigation
Jump to search
imported>Vapid (→quick note: new section) |
imported>Cipscis (→Quick Note: Confirmed and documented) |
||
Line 8: | Line 8: | ||
: -- [[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. | Both 'FindClosestActor' and 'FindClosestActorFromRef' can return 'Player', which means they can't be used to find the nearest actor to the player. {{unsigned|Vapid|16:56, 19 February 2012 EST}} | ||
: Thanks Vapid, I've found that previously in my own tests but forgot to document it here. I've added a note to both pages now, as well as fixing the example on FindClosestActorFromRef | |||
: -- [[User:Cipscis|Cipscis]] 17:03, 19 February 2012 (EST) |
Latest revision as of 17:03, 19 February 2012
Closest to player?[edit source]
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[edit source]
Both 'FindClosestActor' and 'FindClosestActorFromRef' can return 'Player', which means they can't be used to find the nearest actor to the player. —The preceding unsigned comment was added by 16:56, 19 February 2012 EST (talk • contribs) Vapid
- Thanks Vapid, I've found that previously in my own tests but forgot to document it here. I've added a note to both pages now, as well as fixing the example on FindClosestActorFromRef
- -- Cipscis 17:03, 19 February 2012 (EST)