• 0

    posted a message on Are DogTags too difficult? Help me make it better
    Quote from pqee »

    Almost but won't work because under HoTs you have both flashing and nonflashing. You need a 3rd text field and to split your flashing/nonflashing tags up. Something like this:
    1. Buffs: ....
    2. Static HoTs: all your HoTs when >= 6sec, Lb >= 3s
    3. Flashing HoTs: all your HoTs when < 6s, Lb < 3s (Alpha tag goes in this field only)




    I will test the code when I get home today. But, couldn't I combine 1+2 since they're both static?

    Or, will it not work since (3) must come into effect and will not be able to modify strings in other fields?

    Can I request PitBull to allow string manipulation to be in the same location? It seems odd to see Lifebloom > 3sec on the Upper-Right-Corner, then see Lifebloom<3sec flash at the Upper-Left-Corner (or any other location)...
    Posted in: Unit Frames
  • 0

    posted a message on Are DogTags too difficult? Help me make it better
    Quote from pqee »

    Are you doing this in Pibtull or Cowtip?

    You can't have flashing and non flashing text on the text field. To get it to flash when < 3s you need 2 separate text entries. So in Pitbull you need to add 2 new texts fields called say 'LB Flash' and 'LB Static' and in Cowtip you'd have to put them on separate lines.

    Then for LB Flash you use the tag you have above but only the part for < 3s.
    For LB Static you use the other half of the tag for the static portion.

    I'm a druid too so if I get a chance to login today I'll test it and post some tags.


    Using PitBull, focusing on party and raid frames ATM.

    I have all the strings inside a text field called "Buffs". When I tried to add another field called "HoTs", nothing happened. Am I suppose to gain another text field just like "buffs" to enter custom strings?

    So, the steps become:

    Party (or Raid)->Texts->Add Text field
    1. Under Buffs: all my static auras (Mark, Gift, Thorns, etc), as well as HoTs duration >6sec, >3 for Lifebloom
    2. Under HoTs: all my HoTs, with alpha manipulation (HoTs flashes if < 6sec, Lb flashes if < 3sec)

    Sound right?
    Posted in: Unit Frames
  • 0

    posted a message on Are DogTags too difficult? Help me make it better
    I had something like this:

    [HasAura("Lifebloom")?(AuraDuration("Lifebloom") <3)? "Lb":Color("33aacc")]
    [Alpha((CurrentTime * 3):Sin:Abs)][HasAura("Lifebloom")?AuraDuration("Lifebloom")>=3?"L":Color("66ff99")]


    And I was only able to get the buff to flash all the time, not when time<3sec.

    With:
    [HasAura("Lifebloom")?concatenate("L(",NumAura("Lifebloom"),")"):color("66ff99")]


    I was able to get Lifebloom to show stacks:
    L(1), L(2), L(3)

    Would still like to know how to let it flash when duration is <3sec

    Or, is it possible to add the count down?

    Like:
    L(1:6) L(1:5) L(1:4)...
    Posted in: Unit Frames
  • 0

    posted a message on Are DogTags too difficult? Help me make it better
    Quote from pqee »

    I'm sure Ellipsis will correct me but in case I'm right...

    Since Alpha applies to the entire text you'll need 2 separate texts. One for the flashing condition, one for the nonflashing.
    eg.
    Text 1:
    [Alpha((CurrentTime * 3):Sin:Abs)] [HasAura("Lifebloom")?(AuraDuration("Lifebloom") < 6)? "LB":Color("33aacc")]
    Text 2:
    [HasAura("Lifebloom")?(AuraDuration("Lifebloom") >= 6)? "LB":Color("33aacc")]

    Put both texts on top of each other. When Lifebloom has < 6s left it should flash (Text1) otherwise it will be solid (Text2).


    And yes you can detect how many Lifebloom stacks. Eg:
    [(NumAura("Lifebloom") < 3)? "NEED MORE LIFEBLOOM!"]


    Thanks, Pqee, it helped a bit. But I'm still having trouble getting the right buff to flash at the right time.

    Here's my code:

    [HasAura("Mark of the Wild") ? Color("M", "FF99FF")]
    [HasAura("Gift of the Wild") ? Color("G", "FF33FF")]
    [HasAura("Thorns") ? Color("T", "996600")]
    [Alpha((CurrentTime * 3):Sin:Abs)] [(HasAura("Regrowth") ? (AuraDuration("Regrowth") < 6) ? "Rg":Color("339900")) (HasAura("Rejuvenation") ? AuraDuration("Rejuvenation") >= 6 ? Color("Rj", "FF9900")) (HasAura("Regrowth") ? AuraDuration("Regrowth") >= 6 ? Color("Rg", "339900")) (HasAura("Rejuvenation") ? (AuraDuration("Rejuvenation") < 6) ? "Rj":Color("FF9900"))]


    The goal: buffs: static. HoTs: flash when <6sec

    How do I determine when to use square brackets [] or parentheses ()?

    It seemed that if I use the wrong bracket, I'd get a syntax error.

    Again, thanks in advance. :)
    Posted in: Unit Frames
  • 0

    posted a message on Are DogTags too difficult? Help me make it better
    Quote from Ellipsis »

    Correct; as I said, the Alpha tag applies to the entire text. If you want another one to flash separately, you'll need to make a second text for it.

    And no, you can't set up a tooltip to show when you mouseover the DogTag string.


    Big thanks first, Ellipsis.

    Can you give an example? What I'd like to see is for "Lifebloom" and other HoTs to flash as long as it's active (probably will need to set timers < 6 sec as I don't want Regrowth and Rejuvenation to flash the entire time, just <6 sec), but I do want "Mark of the Wild" and "Thorns" to stay static.

    New question: Is it possible then to detect Lifebloom stacks?

    Another big thanks in advance. :)
    Posted in: Unit Frames
  • 0

    posted a message on Are DogTags too difficult? Help me make it better
    [Alpha((CurrentTime * 3):Sin:Abs)] [HasAura("Mark of the Wild")? "M":Color("33aacc")]


    Made the entire buff string flash...

    2nd question: how do allow tooltips on these buff strings (is it possible?)
    Posted in: Unit Frames
  • 0

    posted a message on Are DogTags too difficult? Help me make it better
    Is it possible to allow flashing of buff text for some aura and not others?

    I have a druid w/ HoTs and normally the aura icon would spiral down, but I have been using the text format and I was hoping to add flash/blink to them.

    Right now I have all buffs in the form of:
    [HasAura("Mark of the Wild")?color("M","33aacc")]

    which gives desired color text, and will appear when buffs are found (like Rejuvenation and Regrowth will appear static, and disappear when HoTs are gone, or consumed by Lifebloom).

    I'd like to ask how to make HoT texts flash for the duration (if possible).
    Posted in: Unit Frames
  • 0

    posted a message on Parrot 1.0
    I love using Parrot and will come back as soon as it's updated. Right now I will try MSBT.

    However, I would discourage attacking other mod authors. They've gone through a great deal of effort to offer us free mods that help enhance our WoW experience, and for this I'm appreciative of all their hard work.

    Choosing one addon over another is a personal preference, so please feel free to support your favorite authors without putting down other mod writers.

    Just my 2 cents.
    Posted in: General AddOns
  • 0

    posted a message on Can Grid layouts be exported?
    Can Grid layouts be exported like PitBull?

    I've seen some Grid layouts that are very neatly stacked and presented many useful plug-ins.

    Can anyone share that?

    I use:
    Grid
    GridLayoutPlus
    GridStatusGroupnumber
    Posted in: Grid & Grid2
  • 0

    posted a message on Are DogTags too difficult? Help me make it better
    Can you add the Logical Operands on the wiki for LibDogTag-3.0?
    Posted in: Unit Frames
  • 0

    posted a message on Are DogTags too difficult? Help me make it better
    Just curious...why were new symbols invented to mean logical operands?

    There are syntax symbols out there already, and not that I know squat about LUA (so please don't be offended), but there are logical operands in symbolic forms:

    && AND
    || OR
    ! NOT
    ~ NEGATE
    ...
    etc, etc

    Is it necessary to reinvent the wheel? I'd rather have a manual that explains the symbols, but would still be nice to know that these symbols follow a somewhat standard notation...
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 2.0 Layouts
    bump for recognition...

    Would it be feasible to request PitBull.lua inside WTF? I know I've tried this and it works. The downside is that you lose all settings and take up the new ones.

    The interim solution I have is:

    1) Export the layouts I have now via: Layouts->Export
    2) Copy & Paste them to Notepad
    3) Copy over new PitBull.lua from the new look that I like.
    4) Import specific layouts that I want to keep from older saves (in notepad)

    Thoughts?
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 2.0 Layouts
    If you think we don't need this thread, I can ask to delete it.

    I just find the old one confusing.

    1. ckknight could probably tell us which versions work which ones don't (pbversion?)

    2. People who share their layouts need to indicate if they've installed SharedMedia or other custom fonts/textures that is not included by default from PitBull

    Posted in: Unit Frames
  • 0

    posted a message on PitBull 2.0 Layouts
    Please share your PitBull layouts here.

    1. Please use a cropped screen shot of the frame you're sharing.
    2. Please use
    layout codes 
    to enclose the code.
    3. Please try to be specific when you ask questions (i.e. don't quote the entire code posting)
    4. Please request the actual PitBull.lua file (inside WTF\Account\ACCOUNTNAME\SavedVariables) if nothing else works (I know older version layouts may work by sharing the lua file, but ALWAYS backup first!)

    I'll post/share mine later today, just want to get the thread started.

    PS1: request sticky
    PS2: how do i show "[" and "]" w/o being parsed as "["code"]"?
    Posted in: Unit Frames
  • 0

    posted a message on Post cool PitBull layouts here!
    I just want to add that even though the layout import/export for older versions may not work, the LUA inside the SavedVariable folder still works if you can copy/paste it (backup first!).

    More specifically, if the person publishing the layouts can also supply that file for download:
    C:\Program Files\World of Warcraft\WTF\Account\ACCOUNTNAME\SavedVariables

    There should be a file named PitBull.lua (not the same as the one inside Interface\Addon\Pitbull, do not override that one).

    But it'd also be nice if we can have a separate thread for PitBull2.0 layouts.
    Posted in: Unit Frames
  • To post a comment, please or register a new account.