Thread: PvP Icon
View Single Post
09-17-09, 04:48 PM   #9
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
Originally Posted by Dawn View Post
While we are talking about the pvp icon... I tried to use a different texture than blizzard does for the horde and alliance PvP icon texture, some time ago. I couldn't make it to use the new texture, via
Code:
self.PvP:SetTexture(mytexture)
because it always took the default textures. Seems like the code in elements\pvp.lua was always "preferred" over the one from the layout. Do I have to do it in a whole different way or is this something oUF should handle?
You would have to handle the updating yourself as I gave an example of in my post above. The PvP element is pretty straight forward, so I've always encouraged people to just copy it and make their own if they want to do something uncommon. Most people just want the default behavior and nothing more after all.
  Reply With Quote