hi... i imagine to write a generic macro to be used by other macros, to cast a spell on different target depending modifier keys pressed, something like:
macro: casttarget
/script if nil then CastSpellByName(%1); end -- to fix macro icon
/cast [mod:alt,@player] %1
/cast [mod:ctrl,@focus] %1
/cast %1
/cast Attack
then this macro being used by others like this
macro: castBlessKing
/cast {casttarget "Blessing of Kings"}
macro: castHolyLight
/cast {casttarget "Holy Light"}
something like this, do you catch the idea? :) ... passing arguments to other external macros will effectively turn them into some kind of reusable functions
(or does anybody know a way to to set global functions at wow startup?)
hi... i imagine to write a generic macro to be used by other macros, to cast a spell on different target depending modifier keys pressed, something like:
macro: casttarget
then this macro being used by others like this
macro: castBlessKing
macro: castHolyLight
something like this, do you catch the idea? :) ... passing arguments to other external macros will effectively turn them into some kind of reusable functions
(or does anybody know a way to to set global functions at wow startup?)