Thread Tools Display Modes
10-20-10, 10:16 PM   #1
Ither
A Firelord
 
Ither's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 497
Holy Power Bar

Is it possible to use this code on a kgPanel?

Code:
if UnitClass("player") == "Paladin" then
	f = CreateFrame("Frame", "FakePlayerFrame");
	f.unit = "player";
	PaladinPowerBar:SetParent(FakePlayerFrame);
	PaladinPowerBar_OnLoad(PaladinPowerBar);
	PaladinPowerBar:ClearAllPoints();
	PaladinPowerBar:SetPoint("CENTER", "UIParent", "CENTER", 0, -195);
	PaladinPowerBar:Show();
end
I tried, but none of the areas are letting me accept the code. I was hoping to get a frame with the real power bar instead of what Pitbull offers or boxes or numbers. I just really like the default.
__________________
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Holy Power Bar


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