View Full Version : Have Name Appear as White?
Is it possible to have the player's name appear as white, but the class still appear as purple/yellow/whatever?
Bump, anyone know if it's possible?
Yes, it's possible. You'll need to modify Nurfed_Units.lua.
You're looking for the part that reads:
if (string.find(text, "$name", 1, true)) then
local name = UnitName(unit);
if (UnitIsPlayer(unit)) then
local class, eclass = UnitClass(unit);
if (self.class[eclass]) then
local color = self.class[eclass].color;
name = color..name.."|r";
end
Change local color = self.class[eclass].color; to local color = "|cffffffff"; and you're done. The class text is defined elsewhere, so this won't affect it.
("|cffffffff" gives white, but some other color codes are listed in the Nurfed_Units.class function at the top of the same file.)
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.