• 0

    posted a message on Bartender4 - Official Topic
    Hi,

    just a litte request! :)

    I miss a option that you can lock the bars when you're in the fight! is that possible do add this?

    Drago
    Posted in: General AddOns
  • 0

    posted a message on kgPanels Offical Thread
    Hi, hope you can help me... or anyone :)

    I have to try make a threat panel... it works, but not correctly
    here is the code

    <OnLoad>
    self:RegisterEvent("PLAYER_REGEN_ENABLED")
    self:RegisterEvent("PLAYER_REGEN_DISABLED")
    self:RegisterEvent("PLAYER_TARGET_CHANGED")
    self:Hide()
    </OnLoad>

    <OnEvent>
    local threatpct = UnitDetailedThreatSituation("player", "target")
    if threatpct and threatpct > 0 then
    self:Show()
    else
    self:Hide()
    if event == "PLAYER_REGEN_ENABLED" then
    self:Hide()
    elseif event == "PLAYER_REGEN_DISABLED" then
    self:Show()
    end
    end
    </OnEvent>

    Ok, so far it works but when I'm tanking a mob and pull another one the panels isn't showing on mob2, first if i change the target and get back on mob2...

    well, this code is my first try to make a kgpanel script, if someone have a idea to make this scritp more functional, please... teach me :)

    ah, i need another script too :)

    Need a script to show me the PvP Icons (alliance,horde,ffa) if my target has an eg. pvp status, any idea? EDIT: ok, i have done this... ;)

    greetings
    drago
    Posted in: General AddOns
  • To post a comment, please or register a new account.