View Single Post
07-25-16, 05:50 PM   #4
Thon
A Deviate Faerie Dragon
Join Date: Sep 2012
Posts: 12
Originally Posted by Nimhfree View Post
In Phanx's original code all you need to do is offset the values you are examining from the call to GetMapLandmarkInfo() by one. It seems Blizzard added a new return value. So just change the line to:
Code:
        local _, name, _, textureIndex = GetMapLandmarkInfo(i)
Yes!! Thank you, that did it! I'm glad it was a relatively easy solution.

While I'm at it, I want to take this a step further and see if I can hide the newer icons, such as the Bonus Objective icon, the new 'Quest Available' icon (there is an older POI version, too, and that I can hide), or the Boss icon (which leads to the dungeon journal if clicked). I had a look at http://wow.gamepedia.com/API_GetMapLandmarkInfo and I believe these count as Object icons rather than POI icons.

Examples of these:

Bonus Objectives and Quest Available: http://i.imgur.com/vKKVavd.jpg

Boss Icon (was taken before hiding the lesser icons): http://i.imgur.com/ybHp47o.jpg

The object icons don't show up in the getlandmarks macro either. Are these possible to hide at all?
  Reply With Quote