View Single Post
10-20-18, 01:05 PM   #4
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
To identify if a nameplate's unit is targeting you, you can use the UnitIsUnit function like UnitIsUnit("Nameplate1-Target", "player"), which will check whether the target of "Nameplate1" is the player.

Just use the unitID of the nameplate that you're checking against.