training unarmed
#12
Olon97,Apr 21 2005, 07:41 PM Wrote:On a related note, does anyone have a short bit of code/macro that would give an "attack" command that's not a toggle?

Something like:
if( not AlreadyAttackingMyTarget() ) then
  attack();
else
  -- leave it be, nothing else to do
end

[right][snapback]74750[/snapback][/right]

A quick glance through the World Of Warcraft API didn't turn up anything that looked like it would indicate whether or not you were attacking.

But I did have an idea. Check the box which is Attack On Assist in your interface options, then write a macro like this one:

/script AssistUnit("player")

This would assist yourself, and attack on assist might do the trick (assuming of course you have a valid target before you hit the macro).

It is at least worth a try.

edit: redundant wording
Reply


Messages In This Thread
training unarmed - by Ynir - 04-21-2005, 05:42 PM
training unarmed - by Treesh - 04-21-2005, 06:22 PM
training unarmed - by Mirajj - 04-21-2005, 06:22 PM
training unarmed - by Skandranon - 04-21-2005, 06:23 PM
training unarmed - by Bolty - 04-21-2005, 06:47 PM
training unarmed - by Quark - 04-21-2005, 07:45 PM
training unarmed - by Kevin - 04-21-2005, 08:22 PM
training unarmed - by Ynir - 04-21-2005, 09:01 PM
training unarmed - by playingtokrush - 04-21-2005, 10:59 PM
training unarmed - by Chesspiece_face - 04-22-2005, 12:00 AM
training unarmed - by Olon97 - 04-22-2005, 02:41 AM
training unarmed - by vor_lord - 04-22-2005, 02:55 AM
training unarmed - by Thawwing Light - 04-22-2005, 09:44 AM
training unarmed - by Ynir - 04-22-2005, 04:03 PM
training unarmed - by Baajikiil - 04-22-2005, 04:35 PM
training unarmed - by Xanthix - 04-22-2005, 04:45 PM
training unarmed - by Darian - 04-22-2005, 04:59 PM
training unarmed - by Olon97 - 04-22-2005, 05:08 PM
training unarmed - by vor_lord - 04-22-2005, 06:25 PM
training unarmed - by Ynir - 04-22-2005, 08:44 PM
training unarmed - by Arethor - 04-23-2005, 09:32 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)