View Single Post
08-10-12, 03:44 PM   #1
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 127
Exclamation 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,.
__________________
wMmap :: Is a lightweight Minimap, with a sleek look & custom imagery.
wIn1 :: In one addon. and is very lightweight & simple to use.
wChat :: Is a lightweight chat mod.
wBroker :: Is A simple broker add-on.
wPetXPBar :: Is A simple lightweight Pet XP Bar.
wBuffs :: Is A simple Buffs Bar.