WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   moving/hiding garrison button (https://www.wowinterface.com/forums/showthread.php?t=50761)

Mirrikh 12-17-14 07:10 AM

moving/hiding garrison button
 
So I'm using BasicMinimap and I want to at least move (or show on mouseover) the garrison report button. The in-game options don't have anything for moving minimap icons. So I was wondering if someone could help with this.
(pastebin link for code)

Tonyleila 12-17-14 07:40 AM

Quote:

Originally Posted by Mirrikh (Post 302707)
I want to at least move (or show on mouseover)

"Simple addon to make the (Garrison) button on your minimap hover over."
http://www.wowinterface.com/download...13-HGarri.html

Also its working both fine with Chinchilla Minimap:
http://www.wowace.com/addons/chinchilla/

I think you can make it look exactly like basic minimap

Mirrikh 12-17-14 11:04 AM

Thanks Leila.

ahbe 02-11-21 08:49 PM

Make it available again please :)
 
Quote:

Originally Posted by Tonyleila (Post 302708)
"Simple addon to make the (Garrison) button on your minimap hover over."
http://www.wowinterface.com/download...13-HGarri.html

Also its working both fine with Chinchilla Minimap:
http://www.wowace.com/addons/chinchilla/

I think you can make it look exactly like basic minimap

Could you please share this addon again for Shadowlands? Ive been trying myself without success.
I need a script to show/hide GarrisonLandingPageMinimapButton mouseover that I may add to my LUA.

<3<3<3

Xrystal 02-11-21 09:12 PM

They changed the button in Shadowlands so unless they upgraded those addons they may not work.
https://www.townlong-yak.com/framexm...andingPage.lua

This is the bit of code I use in nUI to place the icon where I want on the screen. It changes dependant on which one you are currently active with.
Lua Code:
  1. hooksecurefunc("GarrisonLandingPageMinimapButton_UpdateIcon", function(self)
  2.             GarrisonLandingPageMinimapButton:SetParent(Minimap)
  3.             GarrisonLandingPageMinimapButton:ClearAllPoints()
  4.             GarrisonLandingPageMinimapButton:RegisterForDrag();
  5.             GarrisonLandingPageMinimapButton:SetScript( "OnDragStart", nil );
  6.             GarrisonLandingPageMinimapButton:SetScript( "OnDragStop", nil );
  7.             GarrisonLandingPageMinimapButton:SetSize(30,30)
  8.             GarrisonLandingPageMinimapButton:SetPoint("CENTER", Minimap, "BOTTOMLEFT", -15, 15)
  9.             GarrisonLandingPageMinimapButton:SetFrameStrata( Minimap:GetFrameStrata() );
  10.             GarrisonLandingPageMinimapButton:SetFrameLevel( Minimap:GetFrameLevel()+5 );            
  11.         end);


All times are GMT -6. The time now is 04:40 AM.

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