• 0

    posted a message on LuaTexts Official Thread
    Works perfect now. Thanks again!
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    I'm not sure what I'm doing wrong...but I've copy pasted the code in and it's still the same error. I tried switching all of the " and ' around but that didn't help any.
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    Thank you very much for the response!

    The first one worked, but the second one gave me this error:

    [string "PitBull4_LuaTexts:Target:level"]:2: unfinished string near '<eof>'
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    I was hoping someone could help me out with the coding to make an luatext that shows power percentages with these conditions:

    a) Only show if the power is mana specifically, and hides if the power is not mana (ex: energy, rage, etc.)
    b) Hides if the mana is at 100%

    example: If I target a Shaman that has mana, it will display it's percent of mana unless if it is at 100% ...but if I target a Rogue, it will display nothing at all.

    Also, I was hoping someone could help me again with how to set up an luatext to show the target's level with these conditions:

    a) If the unit is just a normal numeric level, just display the digits (example: 80)
    b) If the unit is an elite, display the word "Elite" next to the digits. (example: Elite 80)
    c) If the unit is a boss, display the word "Boss" instead of the word "elite" (example: Boss 80)

    Thank you in advance! Any help I can get will be very much appreciated :)
    Posted in: Unit Frames
  • To post a comment, please or register a new account.