MovableManager:GetUnassignedBrain

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)

Latest revision as of 00:46, 28 June 2012

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