View Single Post
05-23-11, 09:02 AM   #4
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 540
Originally Posted by Ketho View Post
afaik you can't ..

Maybe this thread will provide some information with :GetRegions()
http://www.wowinterface.com/forums/showthread.php?t=38911&page=2#27
Thank you very much for the response, was about to start reading it when Lord posted.

Originally Posted by Lordyfrb View Post
Hi,
I've been working on this problem to, and have finally figured how to achieve this.

If you open Stuf\core.lua
And search for this line:
Code:
local f = CreateFrame(frametype or "Frame", nil, uf)
and replace it with this line:
Code:
local f = CreateFrame(frametype or "Frame", "Stuf."..unit.."."..name, uf)
It will then name each of the elements of the unit frame to something more usable.

i.e. the targets threat bar will now be named:
Code:
Stuf.target.threatbar
Hope this helps you.
Genius good sir, thank you very much
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
  Reply With Quote