Quantcast Default Blizz frames - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-14-19, 02:54 AM   #1
A Deviate Faerie Dragon
Join Date: Apr 2009
Posts: 19
Default Blizz frames


Im trying to do some basic modifications to some default blizz frames... and while some of the frames i have no problem with for some others im getting error that frames are not found.

For example if i would want to change scale of CharacterFrame it would work to do just :SetScale(X).. but that will not work for TalentFrame, MacroFrame, CraftFrame etc... because those frames are apparenty not existant.

Now i am noob at this... i just want to modify frames a bit to fit them into my UI.

Is there easy way to remove default border (red, green, blue... ) from targets buffs/debuffs?

Id like to be able to see in my buffs/debuffs the source of that buff... is that possible in classic? i have this script that worked perfectly before... for the love of god i dont remember in what version of wow tho

local _, config = ...

if not config.auraSource then return end

local function addAuraSource(self, func, unit, index, filter)
    local srcUnit = select(8, func(unit, index, filter))
    if srcUnit then
        self:AddLine(' ')

        local src = GetUnitName(srcUnit, true)
        if srcUnit == 'pet' or srcUnit == 'vehicle' then
            local color = RAID_CLASS_COLORS[select(2, UnitClass('player'))]
            src = format('%s (|cff%02x%02x%02x%s|r)', src, color.r*255, color.g*255, color.b*255, GetUnitName('player', true))
            local partypet = srcUnit:match('^partypet(%d+)$')
            local raidpet = srcUnit:match('^raidpet(%d+)$')
            if partypet then
                src = format('%s (%s)', src, GetUnitName('party'..partypet, true))
            elseif raidpet then
                src = format('%s (%s)', src, GetUnitName('raid'..raidpet, true))

        if (UnitIsPlayer(srcUnit)) then
            local color = RAID_CLASS_COLORS[select(2, UnitClass(srcUnit))]
            if (color) then
                src = format('|cff%02x%02x%02x%s|r', color.r*255, color.g*255, color.b*255, src)


local funcs = {
    SetUnitAura = UnitAura,
    SetUnitBuff = UnitBuff,
    SetUnitDebuff = UnitDebuff,

for k, v in pairs(funcs) do
    hooksecurefunc(GameTooltip, k, function(self, unit, index, filter)
        addAuraSource(self, v, unit, index, filter)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Default Blizz frames

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