NPC ID macro for Forever

Discuss World of Warcraft: Forever.
User avatar
Wain
The Insane
The Insane
Posts: 14070
Joined: Tue Jul 27, 2010 1:54 am
Gender: Male

NPC ID macro for Forever

Unread post by Wain »

The following macro should reveal the Family (if it exists) and NPC ID of your current target:

Code: Select all

/run print("Target Family: ", select(1, UnitCreatureFamily("target")), ", NPC ID:", strmatch(UnitGUID("target"),"-(%d*)-%x*$"))

This macro is tailored for Forever and won't work properly in Retail.
Shaman avatar by Spiritbinder.
User avatar
Wain
The Insane
The Insane
Posts: 14070
Joined: Tue Jul 27, 2010 1:54 am
Gender: Male

Re: NPC ID macro for Forever

Unread post by Wain »

(updated to include creature family)
Shaman avatar by Spiritbinder.
Post Reply