MovableManager:GetUnassignedBrain

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetUnassignedBrain( * Which team to try to get the brain for. 0 means first team, 1 means 2nd. )
Description:
Get a pointer to the first brain actor of a specific team which hasn't been assigned to a player yet.
ReturnsAn Actor pointer to the requested team's first brain encountered in the list that hasn't been assigned to a player. 0 if there are no unassigned brains of that team.




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