Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 03/12/07, 10:03 AM   #1
Maligne
Swing That Hammer
 
Maligne's Avatar
 
Clarence
Tauren Druid
 
No WoW Account
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

/targetenemy [nopet]
which is the extent of my macro knowledge, and it still targets pets. Thanks.

Originally Posted by Nurru View Post
Actually pewsey, it's typed as z[tab] and it's pretty well established as the standard notation for the ziplist applicative functor.

United States Offline
Reply With Quote
Old 03/12/07, 10:13 AM   #2
Cold
Glass Joe
 
Draenei Shaman
 
Tarren Mill (EU)
Not possible I'm afraid.

Offline
Reply With Quote
Old 03/12/07, 3:53 PM   #3
Maligne
Swing That Hammer
 
Maligne's Avatar
 
Clarence
Tauren Druid
 
No WoW Account
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.

Last edited by Maligne : 03/12/07 at 3:58 PM.

Originally Posted by Nurru View Post
Actually pewsey, it's typed as z[tab] and it's pretty well established as the standard notation for the ziplist applicative functor.

United States Offline
Reply With Quote
Old 03/12/07, 10:55 PM   #4
dodga
Von Kaiser
 
dodga's Avatar
 
Night Elf Priest
 
Frostmourne
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...
pet:<name>|<family> - Choose if your current active pet has the specified name or family (e.g. pet:bear/wolf)
IIRC there was an addon that did something similar, e.g. retargeting if you target a civilian or pet, but alas I cannot recall its name

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.

remember my name - you'll scream it later

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tab targeting and pets. sulliwan User Interface and AddOns 2 08/31/10 1:36 AM
Precise mob targeting Savos Public Discussion 57 01/13/07 3:35 AM
Fast targeting Sunna Public Discussion 46 11/10/06 12:40 PM
Macro Fun KGBAgent185 Public Discussion 16 11/05/05 1:24 PM