I have a Worgen char, and I’m trying to make it so out of combat it transforms into a human form. This macro code works well to do this:
/castsequence reset=combat Two Forms,null
So I have found a old addon nodogsallowed ( no dogs allowed) on curseforge that seems to do all the pre-req checks, but the main peice of code that did the transform
function NDA_bindings() SetOverrideBindingSpell(btn,false,"BUTTON1",Two_Forms) CombatTracker = 1
no longer works.
The question is, in the addon lua, how can I make the function execute my macro (or cast sequence) that works in place (/castsequence reset=combat Two Forms,null), so something like this:
function NDA_bindings() /castsequence reset=combat Two Forms,null CombatTracker = 1
or even (as the name of my macro is ‘Human’)
function NDA_bindings() runmacro("Human") CombatTracker = 1
I’ll keep researching but I hope someone can help me with this hopefully easy fix.