AddOn to make a pop-up icon
Hey everybody!
Was thinking, is it possible to write a AddOn to pop-up a icon (that is dragable) on your screen when you enter a zone (in this case SoO)? In this case, I would want to, if possible ofc. To write a small AddOn to throw a pop-up icon of Flask of Spring Blossom's on my screen when I am in SoO and I don't have that certain buff. I have almost no clue about LUA, so everybit of help is really appriciated. Something like this perhaps? Code:
If Player.Class.Hunter { is { zone = ("Siege of Orgrimmar"); |
This sounds like an ideal situation for weak auras, unless you just want to make your own addon.
|
Quote:
Thought this might be simple enough for a complete LUA newbie :) |
Is it possible?
Most certainly! You just need to create a frame that has the texture of Flask of Spring Blossoms, make the frame draggable, register events for changing zones and for monitoring auras, and provide some logic for when it should show and be hidden. Give it a shot and let us know how we can help. |
Well I have this add-on for the draggable flask button... I can probably add zone detection or some other trigger if you want, haven't had new features for it in ages :D
|
Quote:
Might even get some tips and tricks from it :) |
Quote:
|
All times are GMT -6. The time now is 11:31 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI