GetArenaTeamIndexBySize

From Wowpedia
Jump to: navigation, search

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