/
str = format("%s Mouse: %.1f / %.1f",str,x,y) |
end |
if(mapID) then |
local x,y = C_Map.GetPlayerMapPosition(mapID,"player"):GetXY() |
if(x and y) then |
str = format("%s Player: %.1f / %.1f",str,x * 100,y * 100) |
local pmp = C_Map.GetPlayerMapPosition(mapID,"player") |
if(pmp) then |
local x,y = pmp:GetXY() |
if(x and y) then |
str = format("%s Player: %.1f / %.1f",str,x * 100,y * 100) |
end |
pmp = nil |
end |
end |
coordText:SetText(str) |