View Single Post
06-20-16, 01:02 AM   #7
liquidbase
A Warpwood Thunder Caller
 
liquidbase's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 97
Originally Posted by lieandswell View Post
Yes, all NamePlate# frames are protected unit frames. I'm pretty sure, however, that the NamePlate#UnitFrame frames aren't protected. They're not clickable and are just there to show information. You should be able to use zork's code on them.
That is the problem. I use the code from zork and here I got the posted error.

Code:
if not UnitIsUnit(frame.displayedUnit, "player") then return end
produces on login, reload, combat start or visible / present nameplates a error. Same issue happens if I adjust the code for my nameplate-script. Outside of combat the positioning works very well, but infight ...
That's the reason why I mentioned that repositing is protected infight. Infight the class nameplate moves with the cameraposition and do no stay at my prevered position (bottom, 0, 370).

Last edited by liquidbase : 06-20-16 at 01:08 AM.