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[edit]
- numInstances
- Number - Number of instances of the last-selected battleground type that are currently running.
Notes[edit]
- Battleground types are selected by RequestBattlegroundInstanceInfo(index) function.