RequestBattlegroundInstanceInfo
Jump to navigation
Jump to search
Requests the available instances of a battleground.
RequestBattlegroundInstanceInfo(index)
Arguments
- index
- number - Index of the battleground type to request instance information for; valid indices start from 1 and go up to GetNumBattlegroundTypes().
Triggers events
- PVPQUEUE_ANYWHERE_SHOW is fired when the requested information becomes available.
Details
- 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.