Map POI Tracking
I have create a small hook, to hide the stuck Draenor treasures from the world map:
Lua Code:
Is it possible to add this function to the World Map Frame's Tracking dropdown as "Show Trasures" as a toggle? |
Quote:
However, I see an unnecessary global lookup, where you already have a local to do the job: Lua Code:
Lua Code:
|
Quote:
|
Quote:
|
_G["WorldMapFramePOI"..i] is a reference to a frame, you can't concatenate a string onto that.
I would be very surprised if your condition comparing texture coordinates to floats actually worked because of the way lua tends to round numbers. Also, I suspect attempting to add anything to any Blizzard dropdown menu is just going to break something unrelated with taint since it recycles those dropdown menus for secure functions. |
Quote:
|
All times are GMT -6. The time now is 12:57 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI