Returns the number of different battlegrounds available. Refers to distinct battlegrounds, not battleground instances. Does not indicate the number of battlegrounds the player can enter: for that, see GetBattlegroundInfo
.
As of WoW 3.2, should always return 6: for Alterac Valley, Warsong Gulch, Arathi Basin, Eye of the Storm, Strand of the Ancients, and Isle of Conquest. If a future patch adds a new battleground, this function will reflect that.
See also Battlefield functions.
Signature:
numBattlegrounds
=
GetNumBattlegroundTypes()
Returns:
numBattlegrounds
- Number of different battlegrounds available (number
)