Thread Tools Display Modes
01-26-06, 01:25 PM   #1
lfreak
A Fallenroot Satyr
 
lfreak's Avatar
Join Date: Oct 2005
Posts: 24
GetBattlefieldStatus()

is the mapName string of the GetBattlefieldStatus Function localized ? or, which integer numbers are used in the instance ID for the different BG's (because this is not listed in the wowwiki (http://www.wowwiki.com/API_GetBattlefieldStatus) ?
thanks for posts

Last edited by lfreak : 01-26-06 at 01:32 PM.
  Reply With Quote
01-26-06, 01:31 PM   #2
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
I believe it is numeric from 1 to MAX_NUM_BATTLEFIELDS or some other nonsense. The tooltip on the minimap button uses it to build the text..

Code:
for i=1, MAX_BATTLEFIELD_QUEUES do
  status,mapName,instanceID = GetBattlefieldStatus(i)
  if instanceID ~= 0 then
    mapName = mapName .. " " .. instanceID
  end
 end
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » GetBattlefieldStatus()


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off