1. #1

    Question Weak Auras: Target of Target bar

    As the title says, is WA able to track the "target of target" health? I've been searching in the forums and Googled it and nothing...
    This should be included in the Status box where we can find "Player", "Target", "Pet", "Focus"... but unfortunately is not built in WA by default.
    Any ideas of how can anyone create a small bar and achieve this?

    Thanks in advance.
    Link

  2. #2
    Quote Originally Posted by Link Sunstrider View Post
    This should be included
    The reason it's not is: the game doesn't fire UNIT_HEALTH(_FREQUENT) events for targettarget units.
    So you can either scan it every frame or every X seconds.

    Using the 2nd approach:
    Code:
    dCJSdaGEkeTlfPxtrzFuaMPirZgPUPiPBdyNuI9QA3q2pXpPazyuO63IAWunCLOdd6ukLJrPmkL04Oa68uuTyrQwoIfbfpvyzkcpxHjsbPPIKjlIPlDrfrxvjCzsxhLnsbQtJQndL2oLQpsHYSejmnkO8qkIrks5vuq1OvuJNI0jPq6Zq11OG4EuiSsLQ)sj9yG(2o1dGhjpso1doyg90FGnJQbtdXhpmOfuP0OwM8bDgMCQhjCSy5Gm6A(PEaWOl)uVVpyd1QrMrQrtE6piqq9upay0LFQ33hfsROEQham6Yp177dsMwp1dagD5N6999brX5zeL5l1hqgbMoK8GJ41kygyjTwn5wS9OQPLr0hPYrCainF0hmujCCCLCQhGSrZapWYqGLNrRBYU4IlU4eTmcsCuUIVaX7KMYhDSIPqcU2cj4AXSj7kk59rjCCCLCQh18L6dq2OzGhmKAxr9bK18d1UI6dtMHv8u1XaIRpazJMbmugbwEg9aldbwEgTUj7IlU4It0YiiXxG4nnfs35vmfsW1wibxlMTui(ceVPPq6oNk00vmfsW1wibxlMTuiEjmv2vuYdq2Ozalqa9bwgcS8mADt2fxCXfNOLrqIVaXRfiGUIPqcU2cj4AXSj7kk5biB0mWdSmey5z06MSlU4IlohR4OCfhYiqRkY(uA4OMmRGMjEMiUX0sXb01nXnaXHmc0QISpLgoQjZkOzIB4IBt8oRizxCXfxCXfxCXHmc0QISpLgoQjZkOzIBeIBmTuCaDDt2fxCXfxCXfxCIwgbj(ceVtAkF0XkMcj4AlKGRfZMSlU4IlUIsKDfL8aKnAgWAnFP(yuyzJhGZkOzpyltGvFO2vuhpEaYgndyDMNOpazJMbEFGyaueooUsg3ITh8KhPPq6olEgR4uzQhyjqankbw4TyipMvo(CVLjm(7JXJjMABQXNAGpSFl2mSjS9(d

  3. #3
    Genius... thanks man...

  4. #4
    Also, now that I've come to this other little issue, is there a way to make a custom trigger with something along the lines of

    "target" not equal "player" then show texture

    Right now I've used this and is not working:

    STATUS: EVENT(S): PLAYER_TARGET_CHANGED
    CUSTOM TRIGGER
    Code:
    function()
        return not UnitExists("player")
    end
    CUSTOM UNTRIGGER
    Code:
    function()
        return UnitExists("player")
    end
    It hides all targets no matter who they are.

    Any help appreciated.
    Last edited by Blakmane; 2015-09-09 at 12:48 AM.

  5. #5
    Probably because a unit called "player" always exists? That's what UnitExists() does. What you're looking for is UnitIsUnit(unit1, unit2).

Posting Permissions

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