View Single Post
11-16-11, 07:38 PM   #10
Taryble
A Molten Giant
 
Taryble's Avatar
Join Date: Jan 2009
Posts: 811
Roughly 5 minutes of playing got this result (see attachment).

Hardest part was the "custom lua" to show the target's name class-colored, so I'm including it here (and by "hardest" I mean "most annoying for people who aren't into lua coding ).

How to use this: just pop open a Text section, select "Custom Lua", paste this in, hit "Accept", and click the box for "Frequent Updates".

Code:
function(unit, cache, textframe)
  if UnitExists("target") then
    if UnitIsPlayer("target") then
      local classcolor = RAID_CLASS_COLORS[select(2, UnitClass("target"))]
      return "|cff%02x%02x%02x%s|r",classcolor.r*255,classcolor.g*255,classcolor.b*255,UnitName("target")
    end
  end
  return
end
I'm not exactly feeling well at the moment, so I'll finish it up tomorrow (so far, only the Player frame is done - I'll do Target, ToT, Focus, Pet, Party, etc, tomorrow when I feel better).
Attached Thumbnails
Click image for larger version

Name:	test.png
Views:	1620
Size:	92.0 KB
ID:	6586  
__________________
-- Taryble

Last edited by Taryble : 11-16-11 at 07:41 PM.
  Reply With Quote