1. #1

    Weakaura help: Progress bar version.

    Hi guys! looking for some help with this masterful addon. I am trying to attach a progress bar to my enemy nameplate I used /fstack feature to look for the frame, The name of the frame is "Nameplate6" so I used this Custom Function to attach a progress bar to it:

    WeakAuras.regions['Demon Hunter: Enemy Nameplate'].region:SetPoint("BOTTOMLEFT",NamePlate6,"CENTER",0,0)

    Everything working so far... but....

    When I change target, it also changes the frame... so it is no longer "Nameplate6" but is... for example "Nameplate2" or "Nameplate9" making Elvui to don't recognize the attachment because it's a different frame.

    The question is the following, is there anyway to attach the same progress bar to different frames? So i can attach it to "Nameplate" 1 to 9? Or there is a different way to achieve what I am trying to do?

    Thank you guys for being so awesome!

    (Sorry if I made a spelling or grammatical mistake english is not my main language)

  2. #2
    Deleted
    I'm assuming you're talking about your target's nameplate.
    If so, you can try to modify the code below (tested without ElvUI).
    The general gist is to listen for events that indicate the addition and removal of nameplates as well as a change of target and "re-anchor" your aura accordingly.

    Code:
    d0d0faGAakTli8AaHdtXmHQ4Vcz2QQll6MqvDxasUTICEfL2PszVuTBq7hnka1WuQu9BvCAbdfinyPHRO6Gc1PaIJrO8vLkPfQOOwQsfFgIwUsEiuLEkLwgGKNRGjsGPQstwHMoPlQkUkaEgaPUoK2iarBfGQnRu12jKpQOWSiunnffzra16ae9wakgnuz8aeojbDlLkLRPujUNQ0kj6Xq5NasTlMFD7KBhD7OFD7krgoW7SZt3QjGqrxPBnyAquExbKiZf(NX032nX2D3gGbnc7mn)NAo6BI5wdMgoWb)62amO(1TJNim0b9m5ZSBXqh0ZKB)hmZNnzFznOltucfr5)Gz(Sl2x2Dnnarm6YmGyLidh4aGXGUmrjueIWiGcXkrgoqkteXqmCNf7l7EuiMgoqG1diuYYYYUas8(tZk()b9eG6aWGqjlll7ciTPc6javGbJ3NT7ZoGfxpGqjlllBIWaXWDwSVS6HYeo6QRUDmmayrHyAqu6wZ)72WOBJJJJzV5G6wDfqImx(1T6SZt3IHoONj3IHoONPiD25PBhuJIo42uuc1b3UfJ)teO4j((ebWMWBuSabpceFlg)NiqXt89jcGnH3ODEWhOb8hbIdWMWB0nENz8CDlgUediCBkkHQBXqh0ZKB3JcX0WbcCkkHQ4OWGkuaiuYYYY(pyMpBY(YAqxMOekIswww2WE2uucv23xwWaSj8gDJ3zgpxWSg4ilkmOcfW((YcE(3mBUaZQ4siLSSSSSSSS)dM5ZQMfYu3mt58Vrt2xw8gTzMsq)gnrmJu3mtjOFJMaYZcayqbgSAwitfmiuYYYYYYYYg2ZQMfYu3mt58VrtwfxczPKLLLLLLLLLLLnredXWDwaRMfYu3mt58VrtqOKLLLLLLLn)djLSSSSSSSSSSSSjcded3zX(YcdFkzzzzzzzzt4iLSSSS5Fid7ztrjuzFFzbVfJ)teO4j((ebWMWBuSabpcaZAGJSWJYMimqmCNfRboYIcdQqbSg4ilaWGkCaayqbgfguHcehSAwitfmiSkUesjlllllllBIigIH7SagfguHcehSAwitfmiuYYYYM)HmSNnfLqL99Lf8wm(prGIN47teaBcVr78Gpqd4pcaZAGJSjcded3zX((YIcdQqbSkUesjlllllllBIWaXWDwSVSWWNswww2eosjlll7kv0fKnryGy4olwkt4iLusjLusjLusjLusjLusjLusjLusjLusjLusjLusPBXqh0ZueUWy6wnmLJU6wi60DfqImxd(MyU9FmJ(1TQ5Nq1VUDc9Rb)6QRUDmSFFad9RZ6x3oH(1GFD1v3Uo)0VUDc9Rb)6QRUDUO5Q5Nq1VUDc9Rb)6QRUDzWs)62j0Vg8RRU629gmnCG(1TtOFn4xxD1vxD7GBbkeaAe7IBf5BIntaLyU6o

Posting Permissions

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