Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetBattlegroundInfo

Last wiki revision 2022-07-22

Returns information about a battleground type. name, canEnter, isHoliday, isRandom, battleGroundID, info = GetBattlegroundInfo(index)

  • index: - battleground type index, 1 to.
  • name: - Localized battleground name.
  • canEnter: - 1 if the player can queue for this battleground, nil otherwise.
  • isHoliday: - 1 if this battleground is currently granting bonus honor due to a battleground holiday, nil otherwise.
  • isRandom: - 1 if this battleground is the random
  • battleGroundID: - the ID associated with the Battleground ( 1 for Alterac Valley, 2 for Warsong Gulch, 3 for Arathi Basin, 7 for Eye of the Storm, 9 for Strand of the Ancients, 30 for Isle of Conquest, 32 for the random, 108 for Twin Peaks and 120 for The Battle for Gilneas)
  • info: - Localized information about the battleground (for the random battleground it returns the string of Alterac).

Source

https://warcraft.wiki.gg/wiki/API_GetBattlegroundInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.