I'm working on my failover script, which pretty much consists of having to add
/target [target=fyer, nodead]; [target=urtth, nodead]; [target=wyind, nodead]; [target=ashtara, nodead];
In to every macro prior to what I want it to do.
It occured to me that if the group composition changes I have to hand edit all those macros across the various characters, which is not good.
I then thought I could just create a macro with that line in it and call it targetlogic and then call that from each macro . However wow macros don't allow the calling of other macros.
It does however allow you to call a script - for example /script CastSpellByName("spellname") or something like that.
I've done a quick search but cant find anything that seems relevant.
Is there a way to implement the targeting logic above in lua script form callable from macro.
The advantage would be being able to only have to edit 1 script on each of the wows.
Connect With Us