View Single Post
05-23-11, 08:44 AM   #3
Lordyfrb
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 71
Thumbs up Now you can

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.
__________________
  Reply With Quote