MovableManager:GetClosestOtherBrainActor

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetClosestOtherBrainActor( * Which team to NOT get the brain for. 0 means first team, 1 means 2nd.
  • The point where to look for the closest brain not of this team. )
Description:
Get a pointer to the brain actor NOT of a specific team that is closest to a scene point. OINT.
ReturnsAn Actor pointer to the requested brain closest to the point. 0 if there are no brains not on that team. OINT.




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