AddOn Studio Wiki
Advertisement

WoW API < RequestBattlegroundInstanceInfo

Requests information about the available instances of a particular 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[]

Notes[]

  • 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[]

Advertisement