For some of us, since the pre-patch our nameplates have been pushed around by the edge of the screen. In effect, A mob you're in combat with can run behind your camera and their plate is still visible on the lower edge of your display. Some people love this, but others like myself find it disconcerting.
The solution is actually rather simple. Simply log in and type into your chat frame the following:
/run SetCVar("nameplateMaxDistance", 100) SetCVar("nameplateOtherTopInset", -1) SetCVar("nameplateOtherBottomInset", -1)ReloadUI()
The game may warn you about running foreign scripts. This is good advice as some scripts can potentially harm you. But the one I gave you is harmless, it simply changes some of the console variables for the nameplates.
"nameplateMaxDistance", 100 is in yards. The old default is 40. This number represents the distance the target must be before nameplates stop showing. If you so desire you can set this value to personal taste; for instance if your spells have a 45-yd range you may wish to set it to 45 for easy clarification as to what is in range simply by whether or not you can see its nameplate. I personally found 100 a bit excessive so I lowered mine to the classic value of 40.
Now this solution isn't perfect; it has to be done on a per-character basis. So log into an alt who hasn't had this treatment performed, and you have to do it again. However, this isn't necessarily a bad thing; you may wish to have a different nameplate visibility range on different characters to suit your taste.
If you're lazy like me and just want the changes to apply all the time, even to new characters you later decide to make then your best bet is to write a basic AddOn that applies the 'fix' every time you log in or reload the UI, it's very simple to do:
Open a notepad program, create two blank files. Call one StaticNameplates.lua Call the other StaticNameplates.toc (Capitalization is important)
In StaticNameplates.lua, put:
Code:
local Frame = CreateFrame("Frame")
Frame:RegisterEvent("PLAYER_LOGIN")
Frame:SetScript("OnEvent", function(...)
SetCVar("nameplateMaxDistance", 100) SetCVar("nameplateOtherTopInset", -1) SetCVar("nameplateOtherBottomInset", -1)
end)
In Staticnameplates.toc, put:
Code:
## Title: Static Nameplates
## Interface: 70000
## Notes: Prevents nameplates from moving around
## Version: 1.0
StaticNameplates.lua
Save both, and put both in a folder called StaticNameplates in your Interface/AddOns folder. Job done. With the AddOn you can also change the visibility value to suit personal taste by going back into the .lua file and replacing the 100 value with whatever you want. (I think 100 is the maximum but I may be wrong)
To restore original functionality:
Code:
/run for k, v in pairs({"nameplateMaxDistance", "nameplateOtherTopInset", "nameplateOtherBottomInset"}) do SetCVar(v, GetCVarDefault(v)) end