View Single Post
03-10-19, 01:50 PM   #5
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Hi Fizzlemizz,

At the end the problem was easier than I thought and thanks to your input I succeded in remove the very ugly PVP Icons and others goodies

Probably when I used /fstack I missed some frames, because now a "simple":

Lua Code:
  1. -- Remove PVP Icon
  2. PlayerPVPIcon:SetAlpha(0)
  3. PlayerPVPTimerText:SetAlpha(0)
  4. PlayerPrestigePortrait:SetAlpha(0)
  5. PlayerPrestigeBadge:SetAlpha(0)
  6.  
  7. TargetFrameTextureFramePVPIcon:SetAlpha(0)
  8. TargetFrameTextureFramePrestigePortrait:SetAlpha(0)
  9. TargetFrameTextureFramePrestigeBadge:SetAlpha(0)
  10.  
  11. FocusFrameTextureFramePVPIcon:SetAlpha(0)
  12. FocusFrameTextureFramePrestigePortrait:SetAlpha(0)
  13. FocusFrameTextureFramePrestigeBadge:SetAlpha(0)
  14.  
  15. for i= 1, 4 do
  16.     _G["PartyMemberFrame"..i.."PVPIcon"]:SetAlpha(0)
  17. end

Seems to work

P.s.
But it is better for this kind of skinning use Hide() or SetAlpha(0) ?

Thanks again for the help.
It is much appreciated.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote