Page 1 of 2

Macro for autoattack?

PostPosted: Thu Oct 22, 2015 2:15 pm
by KingTee
I can't seem to find the right command to make my character autoattack my target.

Re: Macro for autoattack?

PostPosted: Thu Oct 22, 2015 2:29 pm
by Dreez
Code: Select all
/cast Attack

Re: Macro for autoattack?

PostPosted: Thu Oct 22, 2015 2:30 pm
by Dreez
or simply drag the attack button to your bars and keybind it
you can find it in the general tab of your spellbook

Re: Macro for autoattack?

PostPosted: Fri Oct 23, 2015 2:40 am
by Stalk
http://wowwiki.wikia.com/wiki/API_AttackTarget

You can use AssistUnit("player") if you have attack-on-assist enabled. I assume you are trying to put this in a spammable macro that will not rapidly toggle your attacking state on and off.

Re: Macro for autoattack?

PostPosted: Fri Oct 23, 2015 3:41 am
by frigidclam
/script if not IsCurrentAction(60) then UseAction(60) end;

Where 60 is the key to the way right on the bottom right action bar. You need to put you attack icon there. Nothing else posted in this thread with work until later patches.

Re: Macro for autoattack?

PostPosted: Fri Oct 23, 2015 6:59 am
by Dreez
frigidclam wrote:/script if not IsCurrentAction(60) then UseAction(60) end;

Where 60 is the key to the way right on the bottom right action bar. You need to put you attack icon there. Nothing else posted in this thread with work until later patches.

both methods I linked will work, however aren't spammable

yours is the best apparently

Re: Macro for autoattack?

PostPosted: Fri Oct 23, 2015 3:19 pm
by tsol1090
I just press "T" to autoatack / stop autoatack.
Unless ofc you bind it to something else.

Re: Macro for autoattack?

PostPosted: Fri Oct 23, 2015 7:28 pm
by teddysx
frigidclam wrote:/script if not IsCurrentAction(60) then UseAction(60) end;

Where 60 is the key to the way right on the bottom right action bar. You need to put you attack icon there. Nothing else posted in this thread with work until later patches.

i get Image every time i press that script macro
any clue what to do to get rid of this annoying message permanently?

Re: Macro for autoattack?

PostPosted: Sat Oct 24, 2015 4:21 am
by locksmith673
teddysx wrote:
frigidclam wrote:/script if not IsCurrentAction(60) then UseAction(60) end;

Where 60 is the key to the way right on the bottom right action bar. You need to put you attack icon there. Nothing else posted in this thread with work until later patches.

i get Image every time i press that script macro
any clue what to do to get rid of this annoying message permanently?
did you put auto attack on your bars in position 60?

Re: Macro for autoattack?

PostPosted: Sat Oct 24, 2015 6:24 am
by frigidclam
Dreez wrote:
frigidclam wrote:/script if not IsCurrentAction(60) then UseAction(60) end;

Where 60 is the key to the way right on the bottom right action bar. You need to put you attack icon there. Nothing else posted in this thread with work until later patches.

both methods I linked will work, however aren't spammable

yours is the best apparently


The title asks for a MACRO for autoattack not a button from the spellbook or /cast attack which is the same exact thing as the button which is why its not spamable. Mine is the best apparently and what the titel ask for.