secure actionbutton macrotext and modifiers
How do I add a modifier to a secure actionbutton macrotext?
what I want to do is make my mount macro into a addon, but I cant get the [mod] command to read mount macro code Code:
#showtooltip yes, I know that I should post the entire code, but it is such a horrible mess right now so I made this one instead to describe my problem Lua Code:
|
It doesn't work because SetAttribute("type1", "macro") explicitly means it's only a "macro" for unmodified left-clicks, you probably just want "type" in there (or "*type1" for any left-clicks).
|
Just use "type" without any numbers, asterisks, or modifiers.
Code:
local button = CreateFrame("Button", "MyAwesomeMountButton", nil, "SecureActionButtonTemplate") https://github.com/Phanx/MountMe/blob/master/Addon.lua |
All times are GMT -6. The time now is 06:09 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI