Quantcast
WoWInterface - Search Results
Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: Rilgamon
Forum: PTR API and Graphics Changes 06-17-18, 01:02 PM
Replies: 31
Views: 20,572
Posted By Rilgamon
local mapID =...

local mapID = C_Map.GetBestMapForUnit("player")
local px, py = C_Map.GetPlayerMapPosition(mapID, "player"):GetXY()
When you use it that way make sure that mapID has a value.
mapID can be undefined...
Showing results 1 to 1 of 1