1. #1

    Pitbull 4 LUA health text

    Hi, I've been look for a way to configure my Pitbull 4 texts, but after an hour searching I've come up with no solution so far.

    I want my Health text to be like this:

    First, I want to see either the maximum HP (short, like 150k and not 150.000), and if there's HP missing, I want that to show up instead of the maximum HP, also short.
    The missing HP should have a red colour if possible. On top of this, I want to have a percentage of the HP, with the percentage being coloured from green when at 100% HP, to red when at 0% HP.


    At full HP:
    _____________
    | 150k | 100% |
    ¯¯¯¯¯¯¯¯¯¯¯¯¯
    (max HP being coloured green, 100% also being coloured green)



    Missing HP
    ___________
    | -46k | 69% |
    ¯¯¯¯¯¯¯¯¯¯¯
    (missing HP being coloured red, percentage probably yellowish)


    Hope this isn't too confusing, if I'm unclear, let me know.
    Last edited by Juicebox; 2011-05-23 at 01:27 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •