WoW:API GetBattlefieldStatus: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 10: Line 10:
:;mapName : String - The queued Battlefield's name ('Alterac Valley', etc.)
:;mapName : String - The queued Battlefield's name ('Alterac Valley', etc.)
:;instanceID : Integer - The number of the Battlefield instance
:;instanceID : Integer - The number of the Battlefield instance
[[Category:API Functions|GetBattlefieldStatus]]
[[Category:API Battlefield Functions|GetBattlefieldStatus]]

Revision as of 12:48, 27 August 2005

status, mapName, instanceID = GetBattlefieldStatus();

Get status on a battlefield


Returns
status, mapName, instanceID
status
String - The player's Battlefield status ('none', 'queued', 'confirm', 'active', 'error')
mapName
String - The queued Battlefield's name ('Alterac Valley', etc.)
instanceID
Integer - The number of the Battlefield instance