Thread Tools Display Modes
03-09-20, 08:29 AM   #1
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 120
How to hide all icons on Minimap?

Does someone know how to hide all icons on the minimap?
I implemented a minimap which is only showing on mouseover. Im using
Code:
UIFrameFadeIn
and
Code:
UIFrameFadeOut
to do that. That works perfectly for the minimap itself but all the icons on the minimap (player, pet, group members, quest icons, ....) are still visible even when the alpha of the minimap is set to 0.
  Reply With Quote
03-09-20, 11:52 AM   #2
Narfi
A Murloc Raider
Join Date: Jan 2020
Posts: 7
Perhaps you have to fade out the buttons separately

Try
/script ChatFrame1:AddMessage("frame name: " .. GetMouseFocus():GetName())
while mouseover

or
/framestack
to find the names and add them to your code.

Regards
  Reply With Quote
03-09-20, 01:22 PM   #3
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 120
There are no results for those icons. No frames, no names.
  Reply With Quote
03-10-20, 01:09 AM   #4
Narfi
A Murloc Raider
Join Date: Jan 2020
Posts: 7
Got these ones (see attached).

Regards
Attached Thumbnails
Click image for larger version

Name:	Bildschirmfoto 2020-03-10 um 08.07.33.png
Views:	169
Size:	453.2 KB
ID:	9424  
  Reply With Quote
03-10-20, 01:15 AM   #5
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 120
These arent the icons I mean. Here is what I mean:



On the left side you see the "normal" visible minimap. You can see three icons there.
One for the direction, one for the flying master and one for the shred master.

On the right side you see the "invisible" minimap with alpha set to 0. You can stil
see the icons. Those icons are no frames, at least you cant get the frames with
framestack. Also they arent children or regions of the minimap or minimap cluster.
  Reply With Quote
03-10-20, 05:00 AM   #6
Narfi
A Murloc Raider
Join Date: Jan 2020
Posts: 7
Ahh

These are the blip textures, perhaps you can try something with Minimap:SetBlipTexture.

https://wowwiki.fandom.com/wiki/API_...SetBlipTexture

Don't know if this works until now.

Cheers
  Reply With Quote
03-11-20, 09:43 AM   #7
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 223
Originally Posted by Narfi View Post
Ahh

These are the blip textures, perhaps you can try something with Minimap:SetBlipTexture.

https://wowwiki.fandom.com/wiki/API_...SetBlipTexture

Don't know if this works until now.

Cheers
This, as there's no other way. Also try moving after the minimap goes transparent, it should update the blips; this is true if you change the size, scale, or alpha of the minimap.
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
  Reply With Quote
03-12-20, 06:43 AM   #8
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 120
Thx for the hint guys. I solved it without caring about the blib textures.
I created a background frame and attached my Minimap to it. I now do
the mouseover alpha changes on the background frame.

When the frame alpha is set to zero i do Minimap:Hide() and when it is set
back to 1 I do Minimap:Show().
  Reply With Quote
03-12-20, 08:52 AM   #9
Narfi
A Murloc Raider
Join Date: Jan 2020
Posts: 7
Originally Posted by Lybrial View Post
Thx for the hint guys. I solved it without caring about the blib textures.
I created a background frame and attached my Minimap to it. I now do
the mouseover alpha changes on the background frame.

When the frame alpha is set to zero i do Minimap:Hide() and when it is set
back to 1 I do Minimap:Show().
Great love this easy solution
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » How to hide all icons on Minimap?

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