How to log/track coordinates of spell
I'm working on making an addon to track the location of spells like Transcendence, Demonic Circle, etc. I am able to register the aura event, but can't find any reference to where the spell was dropped. Any help with this is appreciated. My wow API google-fu is still pretty new. lol.
PS - If you are also able to point me in the direction of how to render a color changing arrow that points towards the port, that'd be appreciated as well :D Thank you :D |
I doubt there will be a way as that part of the system is probably behind the scenes coding outside of Addon Access.
As far as I am aware the only positioning info are for players ( https://wow.gamepedia.com/API_UnitPosition ) that have been attached to a unit id .. such as target, mouseover, raid1 etc. If I am wrong I am sure someone will pipe up with what they know. |
I know there used to be an addon of this for warlocks, but I can't remember name in order to DL the code and update :(
|
Quote:
|
Addons do not have access to the 3D world and do not know where a spell has been placed on the ground.
|
The best you can do is drop a TomTom waypoint when you cast the spell, but like others said, this won't work in instances.
|
So I should look at TomTom to see how they place a waypoint and reference it to create an arrow pointing to it? :/
|
I assumed those spells are cast while you're standing on the spot, so you would just record your current position. If those spells are cast with you pointing with a cursor, then my idea won't work.
|
Quote:
nRange |
Quote:
Thanks for that link! At least now, I can use the addon and inspect the code to see how it's done :D |
All times are GMT -6. The time now is 03:07 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI