Thread Tools Display Modes
01-09-06, 08:16 PM   #1
Purity
A Deviate Faerie Dragon
Join Date: Jan 2006
Posts: 16
Question 1 Global Totem macro, 3 char's

With the new limits on macros, I am trying to max my slots. I want to make one macro to target and shoot or attack totems.

This is what I have been working on. I am really new to this. Any help is greatly appreciated. Even ideas about another direction welcome.

/target Earthbind Totem
/target Searing Totem
/target Magma Totem
/target Mana Spring Totem
/target Grounding Totem
/target Healing Stream Totem
/script if ( HasPetUI() ) then PetAttack(); else
/cast Shoot or
/script AttackTarget();
/script TargetLastEnemy();

I am using Supermacro. I also have the hunter functionos and discord functions. Perhaps these would help?

I was also looking at the UnitClass("unit") where unit could be hunter, warrior or priest. Where a warrior csbn "attack" else hunter csbn" Auto Shot" else preist csbn"Shoot". I am just not sure how to write it up.

Thanks in advance!
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » 1 Global Totem macro, 3 char's

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off