Thread Tools Display Modes
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.
 
08-10-12, 07:20 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
http://wowprogramming.com/docs/api/IsInActiveWorldPVP
 
 

WoWInterface » Site Forums » Archived Beta Forums » MoP Beta archived threads » battleground code help./


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