Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(1 Kb)
Download
Updated: 07-15-11 01:12 AM
Pictures
File Info
Updated:07-15-11 01:12 AM
Created:07-14-11 05:27 PM
Downloads:1,301
Favorites:10
MD5:
Categories:Map, Coords, Compasses, Outdated Mods

Hide Boss Buttons

Version: 1.1
by: nebula [More]

Simple mod that adds a check box when viewing an instance map to show/hide the Encounter Journal boss portraits on the map.

Works with Mapster or the default blizzard map. Check box may be in an awkward place with other map addons if they move stuff.

Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
1.0
1kB
nebula
07-14-11 05:27 PM


Post A Reply Comment Options
Unread 07-14-11, 08:03 PM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
Looked at your code and saw it was far more complicated then is seems it needs to be.

WorldMapBossButtonFrame:SetAlpha(0)
or
WorldMapBossButtonFrame:Hide()

should be all you need.

Maybe I am not seeing the necessity in doing anything with the digsites or quest objectives.

Edit: I see now that those lines of code are to determine proper placement of the checkbox. You could still simplify the hiding code to just hide the entire frame the buttons sit on, instead of hiding the buttons individually.
Last edited by Manaman : 07-14-11 at 09:16 PM.
Manaman is offline Report comment to moderator  
Reply With Quote
Unread 07-15-11, 01:11 AM  
nebula
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 68
Uploads: 11
Originally posted by Manaman
You could still simplify the hiding code to just hide the entire frame the buttons sit on, instead of hiding the buttons individually.
When I was looking at how blizzard created the buttons, I didn't think to check their parent, lol. Thanks for pointing that out
Last edited by nebula : 07-15-11 at 01:51 AM.
nebula is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: