• 0

    posted a message on Getting NPC <title>
    Hi. I'm looking for the API function to get an NPC's <title> (<class> trainer, etc) but I can't seem to find it. Would be great if anyone could help me out.

    Thanks : )
    Posted in: Lua Code Discussion
  • 0

    posted a message on Hiding Secure Frames?
    You can try

    <frame>:UnregisterAllEvents()
    and/or

    <frame>:HookScript("OnEvent", nil)
    Posted in: Lua Code Discussion
  • 0

    posted a message on Checking for debuffs types
    I figured it out, thanks for your help : )
    Posted in: Lua Code Discussion
  • 0

    posted a message on Checking for debuffs types
    Hi.

    I'm having some trouble using UnitAura checking for debuff types. Here's my code:

    if event == "UNIT_AURA" then
        local type = UnitDebuff(unit, i)
        local str
    
        if type == "Magic" then
            str = "MAGIC"
        end
    
        self.name:SetText(str)
    end
    I'm at a loss here, does anyone see what's wrong?

    Thanks.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Best way to create raid unit frames?
    Thanks, guys.

    I actually have that book, and I've followed the examples, including the one myrrodin is referring to. It didn't work though, so I figured Blizzard changed some things since the book's printing (May 2008 ). Thanks for the links, Orion, I'll check them out.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Best way to create raid unit frames?
    Hello, good people.

    I'm getting my feet wet writing addons and between the frustration and headbashing, it's been fun. I'm working on a simple unit frame addon, and so far I've done the player and target frames (missing right click dropdown menu). Anyway, what I primarily need help with is setting up the raid frames. I tried using SecureGroupHeaderTemplate, but tbh, I didn't really understand it. So, what's the best way to set up some really basic raid frames?

    Any help is greatly appreciated : )
    Posted in: Lua Code Discussion
  • 0

    posted a message on ClassTimer - Official thread
    Anyone know how I get textured backgrounds? Tried to do it with eePanels but I can't find the name of the classtimer frames.
    Posted in: General AddOns
  • 0

    posted a message on Inconsistent bar spacing
    Thanks for your replies!

    I'm pretty sure it's not a rounding error that's causing the problem. I've never used UI scale, but I played around with it after reading your replies. Some UI scale values does fix the problem! But I really don't want to use UI scale since it messes up my other UI elements.

    Any other ideas? : <
    Posted in: General AddOns
  • 0

    posted a message on Inconsistent bar spacing
    Hi there.

    So, I've got this problem I hope you guys can help me with. The bar spacing in both elkBuffBars and ClassTimers is inconsistent! Every few bars, the spacing is doubled.

    On with the pictures ...



    Any help is greatly appreciated.
    Posted in: General AddOns
  • To post a comment, please or register a new account.