GetBattlefieldInstanceInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.4.0

Returns the battlefield instance ID for an index in the battlemaster listing.

instanceID = GetBattlefieldInstanceInfo(index)

Arguments

index
number - The battlefield instance index, from 1 to GetNumBattlefields() when speaking to the battlemaster.

Returns

instanceID
number - The battlefield instance ID. For example the ID in "Warsong Gulch 2"

Patch changes

Cataclysm Patch 4.0.1 (2010-10-12): Removed.
WoW Icon update.png Patch 1.4.0 (2005-04-19): Added.