• World of Warcraft Addons
Advertisement
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

AttackNearestEnemy

  Download the Curse Client

Project Updated:
Files Updated: Thu, May 24 2007
Category: Combat
Tags:

, , and [Edit Tags]

Project Manager: jtbalogh
Current Version: 1.44
Downloads Today: 0
Downloads Total: 6,672
Favorites: 0
Comments: 10
  • About AttackNearestEnemy
  •  

Attack the nearest enemy and not toggle off. Using macros only since addons are now banned after patch 2.0. After repeatedly requesting blizzard fix issues with attacking, the macro below finally works.

The current blizzard default keybind 'Target Nearest Enemy', keybind 'Attack Target', slash /targetenemy or slash /startattack are not enough to target properly and may at times toggle or cycle through the enemy unintentionally, at least for me. Using the mouse to find targets was also not efficient. Using the attack icon from the spell book did not always search for the nearest target so it was not enough.

For melee classes and some range classes, create a macro and add it to the actionbar and a keybind. Everything with one keypress. Melee like warriors, rogue, mages, etc. For example, see readme file for sample macro, similar to,

  • 1. Cast an attack so icon in actionbar flashes (optional)
  • 2. Clear the target, without having to press escape.
  • 3. Target nearest enemy, without having to press Tab.
  • 4. Attack target after a fraction of a second, without having to press T.

For some range classes, create a macro so it targets only. Otherwise it starts attacking and aggroing mobs accidently if you have autoshot or other abilities. You normally attack by choosing your spell/weapon later. Range like hunters, etc. For example, see readme file for sample macro, similar to,

  • 1. Cast an attack so icon in actionbar flashes (optional)
  • 2. Clear the target, without having to press escape.
  • 3. Target nearest enemy, without having to press Tab.

Hint: A convenient keybind is the middle mouse button. Currently, the middle button is used by the default blizzard MouseLook key which I would rather reassign to a 4th button or just use the left-right buttons simultaneously. Holding the middle button for extended periods of time for MouseLook was not comfortable for me anyway. Additionally, a convenient keybind with the shift- middle button can be used with the following addon, QTargetX. http://my.curse.com/downloads/wow-addons/details/qtarget-x.aspx

Install:

  • Create a macro with the default blizzard UI, add the icon to the actionbar, and assign a keybind to the icon.

Known bugs:

  • Neutral level 1 critters are not being targetted. Like rats, rabbits, deer, etc.
  • There are mobs of rats in Stratholme instance that are not being targetted even though they have red nameplates. Hard to fix because in a group and no time to test. I think it is because rats are originally neutral critters.

Known limitations:

  • Distance is limited targeting up to 50 yards, which is a limitation of Blizzard.
  • Must be facing within 30 degrees of the target, which is a limitation of Blizzard.
  • Attacking will not be instantenous. A delay occurs before /startattack detects the current target state. /targetenemy finally sets the target state more quickly for /startattack to respond to properly. Otherwise it would just toggle and stop attacking.
  • Automatically attacking next target is not possible because macro requires a keypress due to blizzard limitation. Would have been handy for a warrior when standing in a mob of 5 and the target dies since you want to keep killing and not loose rage accidently. Workaround is to press button repeatedly, by using a second keybind for the keyboard as an alternative to the mouse buttons.
  • Note that on PvE servers, targetting can also include players that are tagged for pvp too, even if you do not want it to. This is a default blizzard function. Very easily the opposite faction can sneak in during a fight while you are unaware, immediately tag themselves as PvP, and just wait for you to attack accidently.

ChangeLog:

Revision 1.44

  • Explaination and sample macro for range was not accurate and now maybe a little more clear.

Revision 1.43

  • Updated TOC file for patch 2.1.0
  • Macros samples for range classes too

Revision 1.42

  • BC 2.0 compatible.
  • With macro only, no more addon.

Revision 1.0

  • (web site erased all my previous changelog info :()
  • Downloads (4)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  AttackNearestEnemy 1.44 Release 2.1.0 63 5/24/2007
  AttackNearestEnemy 1.43 Release 2.1.0 1 5/23/2007
  AttackNearestEnemy 1.42 Release 2.0.3 1 1/19/2007
  AttackNearestEnemy 1.0 Release 1.12.0 1 9/30/2006
  • 1 page(s)
Advertisement
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • jtbalogh said 

    Still valid for patch 3.0

    Reply Permalink
  • jtbalogh said 

    Revision 1.44

    • Explaination and sample macro for range was not accurate and now maybe a little more clear.

    Reply Permalink
  • jtbalogh said 

    Revision 1.43

    • Updated TOC file for patch 2.1.0
    • Macros samples for range classes too

    Reply Permalink
  • jtbalogh said 

    There is no file, it is a macro you make. Blizzard banned my addon in december from doing this. You may read the readme.

    Reply Permalink