Thread Tools Display Modes
01-22-07, 11:21 PM   #41
Aflat
A Murloc Raider
Join Date: Jul 2006
Posts: 7
Unless I'm missing it, i couldn't display the group numbers next to the names, like in the old praid. Since we assign buffers to groups, this was important. So I added this to the end of perfectraid.lua


function PerfectRaid:GetRaidGroupNumber(unitName)
for count=0,GetNumRaidMembers() do
local name, rank, subgroup, level, class, fileName, zone, online, isDead, role, isML = GetRaidRosterInfo(count)
if unitName == name then
return subgroup
end
end
end


and then changed

frame.name:SetText(self:GetColoredName(unit))

to

frame.name:SetText(PerfectRaid:GetRaidGroupNumber(UnitName(unit)) .. self:GetColoredName(unit) )


So the group number appears first. If I add it after the name, and the name is too long, you won't see the group number.
  Reply With Quote
01-23-07, 06:23 AM   #42
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
Thats a really inefficient way to do it, but yes, it will work for right now.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote
01-23-07, 12:11 PM   #43
Aflat
A Murloc Raider
Join Date: Jul 2006
Posts: 7
Oh, its totally inefficient, but I didn't want to delv into your code too much since it is still in flux.
  Reply With Quote
01-23-07, 12:15 PM   #44
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
You could write a module very easily that does this, but its intended to be in the core. Not very difficult, to say the least, just needs _time_ =)
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote
11-20-07, 01:50 PM   #45
cho
A Defias Bandit
Join Date: Nov 2007
Posts: 2
perfectraid r180 question

Clad,

Please see my post in interface help question section. Can you help me out?
Thanks!
  Reply With Quote
11-21-07, 02:16 AM   #46
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
In the future, please post here.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote
03-07-08, 02:24 PM   #47
Nicole-
A Defias Bandit
Join Date: Aug 2007
Posts: 3
Is there a way to make the range check work on a warrior? I'm not sure what spell I can use that will do a 30 or 40 yard check.

Thanks!!
  Reply With Quote
03-07-08, 02:29 PM   #48
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 863
Originally Posted by Nicole- View Post
Is there a way to make the range check work on a warrior? I'm not sure what spell I can use that will do a 30 or 40 yard check.

Thanks!!
Best you can do is bandage, or wait for 2.4.
  Reply With Quote
03-07-08, 04:05 PM   #49
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
Aye, 2.4 fixes this =/.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote

WoWInterface » Featured Projects » Cladhaire's Mods » PerfectRaid 0.1.3-Beta FAQ

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