Thread: rmod Layouts
View Single Post
Old 04/12/08, 9:14 AM   #121 (permalink)
Velveeta
Von Kaiser
 
Tauren Druid
 
Demon Soul
I'm trying to get the PVP icon to show on the unit frames, I've come up with the following but it its on all the time whether I'm flagged or not:

local pvp = self:CreateTexture(nil, "OVERLAY")
	pvp:SetHeight(16)
	pvp:SetWidth(16)
	pvp:SetPoint("RIGHT", self, "LEFT")
	pvp:SetTexture"Interface\\PVPFrame\\PVP-Currency-Horde"
	self.PvP = pvp
Is there a separate OnUpdate check I need to have? Any help is appreciated.
 
User is offline.
Reply With Quote