API RequestBattlegroundInstanceInfo
Talk0
98,461pages on
this wiki
this wiki
Requests information about the available instances of a particular battleground.
RequestBattlegroundInstanceInfo(index);
Contents |
Arguments
Edit
- index
- Number - Index of the battleground type to request instance information for; valid indices start from 1 and go up to GetNumBattlegroundTypes().
Triggers events
Edit
- PVPQUEUE_ANYWHERE_SHOW is fired when the requested information becomes available.
Notes
Edit
- Calling JoinBattlefield after calling this function, but before {api|t=e|PVPQUEUE_ANYWHERE_SHOW}}, will fail silently; you must wait for the instance list to become available before you can queue for an instance.