WoW:SecureActionButtonTemplate: Difference between revisions

(Typo fixing, typos fixed: targetting → targeting using AWB)
Line 296: Line 296:
The "modified attribute" takes the form of: modifier-name-button. The modifier is one of "alt-", "ctrl-", "shift-", or combination of them in '''''this''''' order, and the button is a number from 1 through 5 or hyphen followed custom button name mapped through some means.
The "modified attribute" takes the form of: modifier-name-button. The modifier is one of "alt-", "ctrl-", "shift-", or combination of them in '''''this''''' order, and the button is a number from 1 through 5 or hyphen followed custom button name mapped through some means.
* Note that modifiers have to appear in order "alt-ctrl-shift-" to function, if you mess the order that attribute will only consume memory for nothing.
* Note that modifiers have to appear in order "alt-ctrl-shift-" to function, if you mess the order that attribute will only consume memory for nothing.
* Note also that, to have your frame respond to different clicks
self:RegisterForClicks("AnyUp")


For example, you could set an action that is used for unmodified left click like this:
For example, you could set an action that is used for unmodified left click like this:
Anonymous user