![]() |
Targeting Macro
So PVPing over the weekend and targeting some felguard or stupid cat named Mr.Stupidface every time I hit tab is really annoying (not to mention every battleground has somewhere around 10 hunters these days).
Is there a macro option ([]) to check if the unit is a pet? I tried Code:
/targetenemy [nopet] |
Not possible I'm afraid.
|
Yeah, I just found that out.
It doesn't really make sense to me, as I don't see [pet] being any different from [harm] or [combat]. Edit: I understand now that it's not [pet] that's in question, it's the /targetenemy command itself. |
It's a bit complicated.
/targetenemy cycles through hostile targets, as if you were tabbing through them. While you can use conditionals as [harm] with /targetenemy, you cannot check what you are targetting (and eventually change your target). Also the [pet] conditional does something different than you might expect. According to WoW Wiki... Quote:
If you are into addon scripting you might want to try hooking the TargetNearestEnemy() method, but I am not sure how much is possible without tainting your UI. |
| All times are GMT -4. The time now is 5:57 AM. |
Forum Infrastructure by vBulletin 3.6.12 ©2000-2007, Jelsoft Enterprises Ltd.