API GetNumBattlefields
Talk0
98,456pages on
this wiki
this wiki
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.