Thread Tools Display Modes
03-12-09, 06:41 PM   #1
goliath0
A Murloc Raider
Join Date: Oct 2008
Posts: 4
Blizzard Raid UI

Got a question to all of you pro addon makers.

I'm trying to customize the default, built-in Raid UI ("Pullout" to be specific).

You can take a look at the Blizzard's default UI code at wowcompares.com.
Specifically:
http://wowcompares.com/0109658/AddOn...ard_RaidUI.lua
http://wowcompares.com/0109658/AddOn...ard_RaidUI.xml

I'm simply trying to either scale the frames so that they're bigger (duh), or - which would be better, make Health Bars larger. Plus disable mana/energy/rage bars etc if it's at all possible.

I've tried different things, such as:
if (NUM_RAID_PULLOUT_FRAMES) then
for i = 1, NUM_RAID_PULLOUT_FRAMES do
for j = 1, MEMBERS_PER_RAID_GROUP do
local frame = _G["RaidPullout"..i.."Button"..j];
--local frame = getglobal("RaidPullout"..i);
--changing frame.healthbar doesn't work too...
if (frame ~= nil) then
frame:SetScale(1.3);
end
end
end
end

It does not work. I'm changing the health bar size erc but it doesn't react.

There's actually a very old addon RaidRangeAid that makes it (almost the same code...) work, but it does that by constantly updating - heavily tainting the execution.

Anyone tried messing with the default Raid UI? It's just so darn small.
  Reply With Quote
03-13-09, 12:28 AM   #2
goliath0
A Murloc Raider
Join Date: Oct 2008
Posts: 4
RaidPulloutX:SetScale(y); seems to work if you set it on events - though you need to watch out not to taint stuff then.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Blizzard Raid UI


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