MovableManager:GetClosestBrainActor

From Data Realms Wiki

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




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