Reply
 
Thread Tools Display Modes
Old 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: 122
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.
wPetXPBar :: Is A simple lightweight Pet XP Bar.
weasoug is offline   Reply With Quote
Old 08-10-12, 07:20 PM   #2
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,143
http://wowprogramming.com/docs/api/IsInActiveWorldPVP
p3lim is offline   Reply With Quote
Reply

Go BackWoWInterface » MoP Beta » MoP Beta AddOn Help & Feedback » battleground code help./

Thread Tools
Display Modes

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