MovableManager:GetFirstTeamActor

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetFirstTeamActor( * Which team to try to get an Actor for. 0 means first team, 1 means 2nd.
  • The player to get the Actor for. This affects which brain can be marked. )
Description:
Get a pointer to first best Actor in the internal Actor list that is of a specifc team.
ReturnsAn Actor pointer to the first one of the requested team. If no Actor is in that team, 0 is returned.




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