Modding PvP icon
Scott, where in the code can I find the placement of the PvP icon at the top of the minimap? It slightly overlaps the action bar, and I click it all the time during PvP combat. It is driving me nuts. I want to move it down and over to the side.
|
Look for this code block in [ Interface > AddOns > nUI > Integration > nUI_Minimap.lua ]
Code:
MiniMapBattlefieldFrame:SetParent( Minimap ); |
OK... so I went one step further and made it draggable. MUCH easier than trying to figure out what numbers to put in. Posting here so I can find it easily to replace code in future patches: :)
Code:
MiniMapBattlefieldFrame:SetParent( Minimap ); |
ok, my click and drag is a quick fix but not too elegant since if you drop it behind the minimap it is gone.
Is there a quick/easy way to make it so it is not clickable while in combat? that would fix my problem of having it pop up and block my entire field of vision if I mis-click it. |
Yeah... don't click the bottom of your buttons (I'm kidding ~smile~) or, if I wanted to be an extra smartalec I'd say learn to use keybinds ~evil grin~
That said and all teasing aside, I would say just modify the position of the button a little so it doesn't overlap with the buttons you're trying to mouse-click. Just edit this line and change the highlighted values (blue to move it left/right or purple to move it up/down) Code:
MiniMapBattlefieldFrame:SetPoint( "BOTTOMRIGHT", MiniMapWorldMapButton, "TOPLEFT", 2, -12 ); |
Quote:
/sigh |
Unless you significantly eclipse my 53 years, I'm afraid I'm gonna have to deny your request to apply the age debuff.
~grin~ |
Oh, so you're gonna pop the +10 Years trink to try to pwn me??
Hax |
Like a boss!
:D |
All times are GMT -6. The time now is 07:50 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI