GetArenaTeamIndexBySize

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.2.0

Returns the index of an arena team for the specified team size.

index = GetArenaTeamIndexBySize(size)

Arguments

size
number - team size (number of people), i.e. 2, 3, or 5.

Returns

index
number - arena team index for the specified team size, or nil if the player is not in a team of the specified size.

Details

  • Arena team indices typically correspond to their creation/join order, and may be discontinuous.
  • You can get information about a given team from its index using GetArenaTeam.

Patch changes

Mists of Pandaria Patch 5.4.0 (2013-09-10): Fixed arena teams removed.
Mists of Pandaria Patch 5.2.0 (2013-03-05): Added.