Page 1 of 1

NPC ID macro for Forever

Posted: Thu Oct 08, 2026 1:53 am
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.

Re: NPC ID macro for Forever

Posted: Thu Oct 08, 2026 2:32 am
by Wain
(updated to include creature family)