Is there a way I can create a macro to target a NPC with it’s ID instead of its name. I know Rukhmar’s ID is 87493, but I just don’t know how to create a macro to target him with it. Having a macro that can ignore Hunter pet names would also be a big help if I can’t do one with the ID.
you could do /tar Rukhmar but i am in the same boat regarding ID. i would love to know if it is possible to target by ID.
The target macros use TargetUnit
which only accept a name or unit id (“party1”, “boss1” etc.)
https://wow.gamepedia.com/API_TargetUnit
make a macro that makes another macro where NPC ids are resolved to names
Reminds me of the DarkLegacy comic about making endless targetoftarget frames
I haven’t found a way around any of this. Anyone have any luck?
You can’t use /tar “npc name”, when you have a hunter griefing the whole area by naming his pets the same as the NPC.
I’ve tried everything, like /tar [harm] NPCname, and everything else I can think or and search for. Nothing works.
If a griefer wants to shut down targeting in the whole area, they can.
Blizzard has prevented us from using target by ID, and I don’t see a way to exclude opposite faction, even when they are NOT flagged, and not attackable.
It seems that Blizzard has removed a lot of macro commands too.
I tried /targetenemy NPCname, but it doesn’t work at all. It’s probably been remved.
Maybe someone can figure out a /script?
The only precedent I can see is whatever method NPC scanner apps use to target a unit by ID, and if all they’re doing is looking up a name and targeting that, that wouldn’t help.