Set self-created icons to the highest priority/layer
Hey, mby anyone can help. How can I set icons created by my addon on the wow maps so that they are not among other icons created by blizzard on wow maps. So for example the icon on the Kalimdor map from blizzard for Orgrimmar, I have a self-created icon exactly on the Orgrimmar icon, but it is sometimes under the layer of the Orgrimmar icon. Can I change it so that my created icons are always above the icons from Blizzard itself? or is that not possible at all?
Thank you in advance for the help |
It depends. If the frames/Textures used to create the icons are made by your addon, you can use a mixture of
https://warcraft.wiki.gg/wiki/API_Frame_SetFrameStrata https://warcraft.wiki.gg/wiki/API_Frame_SetFrameLevel https://warcraft.wiki.gg/wiki/API_Region_SetDrawLayer to adjust the latering of the various parts. If the icons are being created by a provider like HandyNotes it might be best to see if the documentation or someone using/authoring that addon might be able to provide a better solution. |
Quote:
|
i forgot the link
https://github.com/Ssesmar/MapNote-Test i also tried it this way and I created a new file and tried this Lua Code:
and added Lua Code:
|
If anyone can help in some way I would be happy about it, I have now looked through several addons and tried different options, but it doesn't work, I don't get an error message either, it simply has no function
https://github.com/Ssesmar/MapNote |
All times are GMT -6. The time now is 10:04 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI