Help
Regional FlagAdvanced Macro Help!Source
avatar
Senjira
Target Source
#1 - 2013/04/18 03:27:00 AM
Hey guys i was wondering if i could create a targeting arena1-2-3 macro where i can add several #showtooltips, where the tooltip alters depending on which character i am playing, for example it shows block when i am on mage and link when i am on shaman etc. etc.

I would like this as i like to keep a clean UI, and would like to avoid making 5x Tar 1-2-3 macros..
Thanks in advance!

avatar
Community
Target Source
#9 - 2013/04/18 02:30:00 PM
Hey guys i was wondering if i could create a targeting arena1-2-3 macro where i can add several #showtooltips, where the tooltip alters depending on which character i am playing, for example it shows block when i am on mage and link when i am on shaman etc. etc.
Hmm… I might have a somewhat silly way for you to accomplish this.
But hey, as long as it works... right? ;)

So for example, let’s say you put Elixir of Frost Power in the top left slot (first slot) of your Mage’s backpack, and Elemental Flux in the same exact slot of your shaman’s backpack and then you use this macro:

#showtooltip 0 1
/target Arena1


The icon of that macro will change from character to character depending on the item that currently sits on the 1st slot of the backpack.

For reference: in that macro, 0 corresponds to the first bag (backpack) and 1 means first slot of the respective bag.

avatar
Community
Target Source
#15 - 2013/04/19 12:11:00 PM
Cannot try it myself atm, but I think it's possible through adding a short script to your original macro:

/run local G=GetSpellInfo SetMacroSpell("MACRO_NAME", G"SPELL1" or G"SPELL2")

Very nice solution! This does work, thanks for helping out ;)