From Data Realms Wiki

Jump to: navigation, search
SyntaxGetClosestActor( * Which team to try to get an Actor for. 0 means first team, 1 means 2nd.
  • The Scene point to search for the closest to.
  • The maximum radius around that scene point to search.
  • A float to be filled out with the distance of the returned closest to the search point. Will be unaltered if no object was found within radius.
  • An Actor to exclude from the search. OINT. )
Get a pointer to an Actor in the internal Actor list that is closest to a specific scene point.
ReturnsAn Actor pointer to the requested Actor closest to the Scene point, but not outside the max radius. If no Actor other than the excluded one was found within the radius of the point, 0 is returned.

  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
Personal tools