1. #1

    WA Range & Arrow to target possible?

    Pretty much title, is there a weakaura that can display an arrow and the distance to your target?

    Sort of like imperator mark of chaos one, but always displayed and for your target.


    I tried googling and searching these forums but can't find anything that helps.

  2. #2
    So, it isn't possible to do that directly, no. You can't get a map location and/or direction to a non-player unit.

    You can approximate distance to the target using "is item in range" queries, and known item ranges, which gives somewhere in the region of a 5 "yard" increment.

    In theory you could have cooperative addons that tested range to the same thing from multiple players and triangulated, but that would be complex at the least; given that Blizzard deliberately prevent locating enemy units, that might well lead to further API restrictions to prevent it.

  3. #3
    How is the weak auras with arrows & distance to Mark of Chaos tanks able to be so precise then? ( https://www.youtube.com/watch?v=fxo2snF_6F4#t=101 is the WA I'm talking about. 1:41 if url doesnt work).

  4. #4
    Simple: you can get exact position of *player* units in your raid team. Hundred percent perfect. You can't do that for enemy units.

    (Like, literally the API returns map position exactly for players, and nothing for enemy units.)

  5. #5
    Yeah, so I'm looking to use this to find the range & direction of raidmembers I'm targeting.

  6. #6
    Quote Originally Posted by holypalaswe View Post
    Yeah, so I'm looking to use this to find the range & direction of raidmembers I'm targeting.
    Vuhdo offers something like that as an indicator on the raid frames.
    Might be worth looking at how that works, should that be feasible to do.
    Quote Originally Posted by DeadmanWalking View Post
    Your forgot to include the part where we blame casuals for everything because blizzard is catering to casuals when casuals got jack squat for new content the entire expansion, like new dungeons and scenarios.
    Quote Originally Posted by Reinaerd View Post
    T'is good to see there are still people valiantly putting the "Ass" in assumption.

  7. #7
    http://www.curse.com/addons/wow/mous...-range-pointer provides a generic implementation of the Vuhdo pointer, usable on any unit frame.

    (...and sorry, when you said "target" I assumed "hostile unit that I target to do damage to", rather than a friendly target -- and that the example was just "an arrow like this", not specifically that it was on a real person.)

    I don't think you could reasonably use WA to implement this, to be honest; it doesn't provide any support. You would likely find it easier to create your own frame and draw an arrow on it -- or, perhaps, automate something that updated a TomTom waypoint to your target routinely? Seems like maybe that is the simplest way to build this addon, if the existing things don't cut it.

    If you did, I guess I would look into if you can have a custom animation function adjust the rotation of a model, and use a combination of http://wow.gamepedia.com/API_GetPlayerMapPosition and http://wow.gamepedia.com/API_GetPlayerFacing to calculate the direction of the arrow.

    (Please note the caveats on that, including that you need to have the map updated to the zone, that your facing is toon facing, not camera facing, etc. This complexity is why I suggest that, perhaps, TomTom or something similar would be a better choice than trying to implement it yourself.)

    - - - Updated - - -

    I literally just ran across this: http://www.wowinterface.com/downloads/info23489-rTargetPointer.html

    Enjoy! Someone did what you wanted, I think.

  8. #8
    You could use TomTom + TomTomPing, it does exactly what you want except for the fact is not WA.

Posting Permissions

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