WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   MoP Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=162)
-   -   battleground code help./ (https://www.wowinterface.com/forums/showthread.php?t=43871)

weasoug 08-10-12 03:44 PM

battleground code help./
 
I have been looking into this. and all i can find is that MiniMapLFGFrame and MiniMapBattlefieldFrame got merged into

Code:

QueueStatusMinimapButton
but cant see how i would do
Code:

MiniMapBattlefieldFrame.status=='active

Code:

if battlegroundres then
        eventHandlers['PLAYER_DEAD'] = function()
                        if (MiniMapBattlefieldFrame.status=='active') or (GetRealZoneText()=='Wintergrasp') or (GetRealZoneText()=='TolBarad') then
                        RepopMe()
                end
        end
end

and with this part i guess just put QueueStatusMinimapButton but then if im right. it will mess up the code i have the lfg frame. so do i just keep my lfg code. and it will use the same for the old battlefeild code.


Code:

MiniMapBattlefieldFrame:ClearAllPoints()
MiniMapBattlefieldFrame:SetPoint('TOP', Minimap, 0, 4)
MiniMapBattlefieldBorder:Hide()


thanks for your time,.

p3lim 08-10-12 07:20 PM

http://wowprogramming.com/docs/api/IsInActiveWorldPVP


All times are GMT -6. The time now is 03:02 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI