WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   UnitFrame Texture (https://www.wowinterface.com/forums/showthread.php?t=58882)

wowdream 08-10-21 10:29 AM

UnitFrame Texture
 
Hi im new here and just found this script that change the default unitframe that looks great for me, but
the problem is it only change the PlayerFrameHealthBar but not the PlayerFrameManaBar Texture

any help is appreciated. thank you



Code:

for _, sb in pairs ({
  PlayerFrameHealthBar,
  PlayerFrameManaBar,
  PlayerFrameAlternateManaBar,
  TargetFrameHealthBar,
  TargetFrameManaBar,
  TargetFrameToTHealthBar,
  TargetFrameToTManaBar,
  FocusFrameHealthBar,
  FocusFrameManaBar,
  FocusFrameToTHealthBar,
  FocusFrameToTManaBar,
  PartyMemberFrame1HealthBar,
  PartyMemberFrame2HealthBar,
  PartyMemberFrame3HealthBar,
  PartyMemberFrame4HealthBar,
  PartyMemberFrame1ManaBar,
  PartyMemberFrame2ManaBar,
  PartyMemberFrame3ManaBar,
  PartyMemberFrame4ManaBar,
  CastingBarFrame,
  TargetFrameSpellBar,
  FocusFrameSpellBar,
}) do
sb:SetStatusBarTexture("Interface\\Addons\\rUI\\media\\unitframe\\UI-StatusBar")
end


rulezyx 08-11-21 10:28 PM

Check your Interface/TargetingFrame-Folder for UI-StatusBar.blp.

If theres none create one and copy the texture you are using for the addon and put it in the folder.

Otherwise replace the texture with your matt one.

Restart the game and the enegry/power/manabars should be fixed.

Make sure that it is blp format.

rulezyx 08-11-21 10:28 PM

I dont know why my comment got double posted but the texture should be the fix.


All times are GMT -6. The time now is 10:08 PM.

vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2021 MMOUI