View Single Post
03-19-22, 09:19 PM   #1
muleyo
A Deviate Faerie Dragon
Join Date: Apr 2021
Posts: 12
Hide names from nameplates except from target

Hi,

I'd like to hide names from nameplates except from my current target. Unfortunately, I only found code to hide all player names.

Code:
hooksecurefunc("CompactUnitFrame_UpdateName", function(frame)
	if strsub(frame.unit, 1, 9) == "nameplate" then
		frame.name:Hide()
	end
end)
  Reply With Quote