Hi Guys many many thanks for the reply's.
I tried the suggestions but what I'm after is something like the indicators in grid, a clean simple red square.
I even tried:
Code:
if (unit == "player" or unit == "target") then
self.PvP = self.Health:CreateTexture(nil, "OVERLAY")
self.PvP:SetTexture("Interface\AddOns\oUF_Harpz\media\\white16x16.tga")
self.PvP:SetVertexColor(1,0,0)
self.PvP:SetHeight(18)
self.PvP:SetWidth(18)
self.PvP:SetPoint("BOTTOMLEFT", -13, -13)
end
after copying the white16x16.tga from oUF_Rabbit
http://wow.curse.com/downloads/wow-a...uf_rabbit.aspx and setting up a media dir and putting white16x16.tga in it.
What am i doing wrong?
The aim is to have a small green square top right of the frame showing when in resting state and to the left of that a red square to indicate pvp.
What i have at moment is a square like pvp icon, not very clean.
I look forward to any help given and thanks in advance