WoW API: GetNumBattlefields
Jump to navigation
Jump to search
← WoW API < GetNumBattlefields
Returns the number of available instances of the last-selected battleground type.
numInstances = GetNumBattlefields();
Returns
- numInstances
- Number - Number of instances of the last-selected battleground type that are currently running.
Notes
- Battleground types are selected by RequestBattlegroundInstanceInfo(index) function.