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)