RequestBattlegroundInstanceInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 3.1.0 / 1.13.2

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

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.

See Also