Quantcast WoWInterface - View Single Post - Secure actionbutton macro with binding
View Single Post
07-08-18, 06:18 AM   #4
A Murloc Raider
Join Date: Aug 2012
Posts: 8
Originally Posted by robertito54321 View Post
For a simple macro body like the one I posted, yes this could work.
Unfortunately the macro is more complicated than what I posted (my bad for not saying this before), so setting the type to 'spell' wont work in my case.

Any other ideas?

Managed to make it work by inheriting from 'SecureHandlerEnterLeaveTemplate',
and changing the bindings based on the values of _onevent and _onleave attributes.
  Reply With Quote