MovableManager:GetPrevTeamActor

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
SyntaxGetPrevTeamActor( * Which team to try to get an Actor for. 0 means first team, 1 means 2nd.
  • A pointer to an Actor to use as starting point in the backward search.
  • Ownership NOT xferred! )
Description:
Get a pointer to the last Actor in the internal Actor list that is of a specifc team, alternatively the last one BEFORE a specific actor!
ReturnsAn Actor pointer to the requested team's last 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