PerfectRaid 0.1.3-Beta FAQ - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-22-07, 11:21 PM   #28
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

and then changed



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

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