Main (frFR)
Attack the nearest enemy more accurately. The current blizzard default keybinds for 'Target Nearest Enemy' and 'Attack Target' 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 nearest target so it was not enough. For the past few months, this addon helped me alot.
The addon executes a series of 3 commands/keybinds in sequence. For example,
1. Clear the target, without having to left click somewhere on the screen.
2. Execute keybind to target nearest enemy, without having to press Tab.
3. Execute keybind to attack target after a fraction of a second, without having to press T.
Command/Options:
Use the keybind to execute this addon anytime.
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://www.curse-gaming.com/en/wow/addons-5297-1-qtargetx.html
Install:
Move the files to the game folder, .\World of Warcraft\Interface\AddOns\AttackNearestEnemy\*.*
-------------------------------------------------
Wish list:
-------------------------------------------------
- Target lowest hp.
-------------------------------------------------
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 to 10 yards to find a target, 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 is added to the keybind to attack target so it can detect the current target state. Otherwise it would just toggle and stop attacking. For safety, timer controlled delays are used to meanwhile always allow detection of keys/mouse.
- Delays might be different for each computer, so edit the text file, AttackNearestEnemy.lua, and change the amount in, AttackNearestEnemy.AttackReleaseInterval. (the longer the delay, the more accurate)
- Automatically attacking next target is not possible because TargetNearestEnemy() only works from 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.
Facts
- Date created
- 30 Sep 2006
- Last updated
- 24 May 2007