WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Classic - AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=179)
-   -   Player/ Raid Member Dungeon X/Y position (https://www.wowinterface.com/forums/showthread.php?t=57965)

Cheekything 04-24-20 10:36 PM

Player/ Raid Member Dungeon X/Y position
 
I've been fixing up the seemingly abandoned Dungeon Maps addon. As I like the Dungeon Maps from retail.

I'm trying to make it so that in addition to showing the maps, I can display the raid/party/players on the maps itself.

I'm using Leatrix Maps as a bit a of a reference guild, but I can't seem to figure out how to get the X/Y postitions for players yet.

I am mostly running scripts in game to save on the opening and closing of the game to reload /update the addons.

I found this "GetPlayerMapPosition()", but I can't get it to print anything but "nil" in game right now while in a dungeon.

I'm quite new to LUA, and addons in general in WoW, so I apologise if I've made some stupid mistake.

Kanegasi 04-24-20 10:53 PM

Player positions are unavailable inside instances.

https://worldofwarcraft.com/en-us/ne...rn-to-karazhan

Quote:

Addons can no longer access the positions for player, party, and raid members in instances.
This Patch 7.1 change is a part of Classic, since Classic has been forked from an 8.1 version of the game.

Cheekything 04-24-20 11:22 PM

Ah well that explains that thank you very much.


All times are GMT -6. The time now is 09:37 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI