Quantcast
UnitFrame Texture - WoWInterface
 
Thread Tools Display Modes
08-10-21, 10:29 AM   #1
wowdream
A Kobold Labourer
Join Date: Aug 2021
Posts: 1
Question 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
  Reply With Quote
08-11-21, 10:28 PM   #2
rulezyx
A Flamescale Wyrmkin
 
rulezyx's Avatar
Join Date: Jan 2020
Posts: 106
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.

Last edited by rulezyx : 08-11-21 at 10:33 PM.
  Reply With Quote
08-11-21, 10:28 PM   #3
rulezyx
A Flamescale Wyrmkin
 
rulezyx's Avatar
Join Date: Jan 2020
Posts: 106
I dont know why my comment got double posted but the texture should be the fix.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » UnitFrame Texture

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off