MovableManager:GetNextActorInGroup

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxGetNextActorInGroup( * Which group to try to get an Actor for.
  • A pointer to an Actor to use as starting point in the forward search.
  • Ownership NOT xferred! )
Description:
Get a pointer to the first Actor in the internal Actor list that is of a specifc group, alternatively the first one AFTER a specific actor!
ReturnsAn Actor pointer to the requested team's first Actor encountered in the list. 0 if there are no Actors of that team.




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