This function or event no longer exists in version 6.0.2 (19034) of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions

Returns a numeric ID for a battleground instance in the battleground queueing list. This number is seen in the instance names in said listings and elsewhere in the Battlegrounds UI (e.g. the 13 in "You are eligible to enter Warsong Gulch 13").


See also Battlefield functions.

Signature:

instanceID = GetBattlefieldInstanceInfo(index)

Arguments:

  • index - Index in the battleground queue listing (1 for the first available instance, or between 2 and GetNumBattlefields() for other instances) (number)

Returns:

  • instanceID - Numeric ID of the battleground instance (number)