• 0

    posted a message on Simple dialog box using AceGUI-3

    Hello,

     

    I would like to create a very simple dialog box with a button using Ace3. The dialog box would appear when my addon is in a configure mode. I would like to capture when it is closed and run a function. My AddOn is fully running and based totally on Ace3.

     

    I started with creating option table but now I am stuck. I don't know how to proceed. The table looks like this:

     

    -- dialog box
    local dialogBox = {
        type = "group",
        name = "Configure mode",
        args = {
            desc = {
                type = "description",
                order = 1,
                name = "You are in the configure mode.",
            },
            exitmode = {
                name = "Exit",
                desc = "Press button to exit configure mode.",
                order = 10,
                type = "execute",
                func = "resetAlphas",
            },
        },
    }

    I can't find how to register this dialog, how to open it and how to respond when it is closed. Hope someone can help. Thanks.

    Posted in: General Chat
  • 0

    posted a message on PitBull 4.0
    Hi

    I have recently noticed that Pitbull 4 does not properly work with DoTimer. Did anyone else notice this problem as well? It happens particularly when I join any party / raid. Once I do that BugSack just indicates and records series of errors. When I play solo everything seems to be ok.

    I am just wondering if anybody else has the problem with Pitbull4 when DoTimer is instalelled.

    Thanks
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Quote from Kerecha
    go into modules, dissable luatexts, enable dogtags, and it will work like old pb3


    Well, thanks for that link Kerecha. I will try to stick to LuaText. It's gonna help me to practice with Lua.

    Shefki thanks for the link to documentation. BTW. Where can I save my own Lua code to use it in other profiles/bars etc?

    EDIT:
    I think there is error in documentation. The function name: "DifficultColor(unit)" should be "DifficultyColor(unit)". I spent a bit to find this >.<
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Hi

    It's me again :P

    I was trying to create my own extra texts just to join colour level number with name just as white text and many other things.

    Pitbull 3 had explanation of all these funtion where i can find it in Pitbull 4?

    Thanks
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Quote from ezystreet
    Hello I have this issue , still a newbie.
    Anyway trying to have a 2D portrait centered above my health bar.
    But when I set it it looks like this :

    How can I make it so it can look clear and nice ?


    Layout editor -> Indicators -> Portrait and look at Side options. There are 3 possibilities: "Centre", "Left", "Right". If you change it to Left or Right it should be ok.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Quote from jokeyrhyme
    Zebbik, you've discovered one of the most awesome features in PitBull4.


    Oh my goodness, for some reason i did not spot the empty bar which gives me possibility to create a new group. As my teacher used to say: "You can look and cannot see, you can listen and cannot hear :P".

    Once I have done it, and set options for the new Unit Group everything has started working perfectly. Thanks for that jokeyrhyme.

    BTW Shefki. Do u think this addon will be working in very next patch 3.2?

    Best regards.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    OK this is what I could do ...

    On left hand side of the Config window i clicked on Groups tag as i believe this is where I need to set all options about groups like party and raids.

    First of all, Config Mode at upper right hand side corner does not seem to be connected to Groups tag just on left hand side (it was in Pitbull v3 and less).
    Now, In Groups tag, I have chosen Party (from only Party and Party's Pets to be able to choose in Current Group), "Enable" is ticked on. From Unit Groups I am only interested in Party or Raids. When I set this option to Party what I can see only is group of 5 members If I chose Party, Raid10, Raid25 and Raid40 from Config Mode. Again, i can see only the group of 5 bars corresponding to group of only 5 players. I believe it will appear exactly in that manner if I enter to any raid.
    Now, If I set Units Groups options to Raid still in Group tag, I cannot see set of 5 ppl group at all if I set Config Mode to Party but I can see raids correctly all 10, 25 and 40 in exact manner i want.

    Now, my question is why I have to change the option of Unit Group to either Party of Raid to see one of the other correctly?

    Of course as I said before, all options in "Show when in" are ticked when I set Config Mode to Party as well as the Config Mode is set to Rsid 10, 25 and 40.

    I have no idea if option on the left hand side are dependent on Config Mode. They seem not to change if I change Config Mode to either Party, Raids or Solo.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Quote from Kerecha
    Have you enabled all types of raid and grp and sorted layouts for then?


    yes this has been first thing I have done
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Sorry, I have read my previous post and I found it quite enigmatic.

    I have noticed that either I can see party of 5 ppl and then when i go to raid i cannot see anything or by setting some options (mostly in Group tag) I cannot see party but i can see raid. I don't know why is that. I am sure I should be able to see party group and all kinds of raid independently whenever I am in any.

    Is there any option which controls that?

    Regards
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Hi

    This Addon is supposed to be simpler than Pitbull v3 but to be honest i found it much more difficult. Anyway, I have a priest healer and I sometimes heal only party, or raids 10,25 or 40.

    Now, i need deparate pannel for party of 5 ppl, raid 10, raid 25 and raid 40. How can i do that? I tried to set them before but either i can see only party or raids.
    Posted in: Unit Frames
  • 0

    posted a message on SCT 6.0 / SCTD 3.0
    Hello.

    I am using SCT/SCTD and in FAQ i have found in FAQ that it is highly recommended not to use "Standard WoW's SCTD" with this AddOn (SCTD). Why is it? I am wondering that because to be honest i like the idea i have full details about the DMG on the left and also dmg above the head of anything i hit. WoW has great property that dmg is appearing exactly above the mob's head. So if i DoT two mobs or three the dmg appears exactly above their heads. Why is SCTD continuously switching WoW DMG off ?
    Posted in: General AddOns
  • 0

    posted a message on Pitbull - how to get rid of red health bar.
    Can anyone please explain to me how to make this thing work please ://

    I am trying to get the information about the target what its talent tree and talen spec is. So i have created such code for target

    [If TalentTree("target") then
      TalentTree("target"):Yellow "(":Yellow TalentSpec("target"):Yellow ")":Yellow
    end]


    I assume that if target is NPC TalentTree is empty and If block is not run, however, if it returns anything the block will run. Because of a reason i obtained nothing, empty field. WHy is it and what iam doing wrong?

    Thanks
    Posted in: Unit Frames
  • 0

    posted a message on Pitbull - how to get rid of red health bar.
    just one thing yet ...

    If it's anyhow possible to check if a unit is an NPC or not?
    Posted in: Unit Frames
  • 0

    posted a message on Pitbull - how to get rid of red health bar.
    Ehhh. I couldnt guess that but when i have mouseovered on that it exactly says what it does :P

    ... but at leat i have learnt a new word =)))

    Thanks
    Posted in: Unit Frames
  • 0

    posted a message on Pitbull - how to get rid of red health bar.
    Hi i have just installed the most fresh version of Pitbull. It seems to work better than previous version but there i still have errors when for example tried to set on Threat Bar in Pitbull->Modules options

    Second. The previous version was using a font Enigma or somthing
    . I really liked that. how can i use that. Does it have to be implemented by author?

    I have one queastion, however. How can i get rid of Red colour of Health Bar when i start fighting with mobs. I could manage to change style for target which changes colour from green to red depending on what actuall health of opponent is but how can i do that with Player Frame? It's green only when i out of Combat.

    thanks.
    Posted in: Unit Frames
  • To post a comment, please or register a new account.