Thread: 3 Questions
View Single Post
07-23-13, 01:37 PM   #3
laukond
A Black Drake
Join Date: Dec 2011
Posts: 87
Originally Posted by ravagernl View Post
Can you provide some info about what UI this is, and/or if you are writing some addon yourself, please provide code to look at
It's blizzard UI with lots of zzzz:SetAlpha(0);

As for the health text I use this code currently:
Code:
	hooksecurefunc("TextStatusBar_UpdateTextStringWithValues", function()
        PlayerFrameHealthBar.TextString:SetText(AbbreviateLargeNumbers(UnitHealth("player")))
        PlayerFrameManaBar.TextString:SetText(AbbreviateLargeNumbers(UnitMana("player")))
		-- PlayerFrameAlternateManaBar.TextString:SetText(AbbreviateLargeNumbers(UnitPower("player")))
		
        TargetFrameHealthBar.TextString:SetText(AbbreviateLargeNumbers(UnitHealth("target")))
        TargetFrameManaBar.TextString:SetText(AbbreviateLargeNumbers(UnitMana("target")))

        FocusFrameHealthBar.TextString:SetText(AbbreviateLargeNumbers(UnitHealth("focus")))
        FocusFrameManaBar.TextString:SetText(AbbreviateLargeNumbers(UnitMana("focus")))
		
		
	end)
  Reply With Quote