Thottbot > Comments > Quests > The Path of Conquest [10772] > fly...
NEW! Wrath of the Lich King! (August 29)   NEW! Project Lore AK
  •   Report  Quote Reply Re: fly over
    Score 8.5     Vote: [-] [+] by Ashti, 7.8 months ago
    If you want, you can create a macro to give your current position.

    For example:

    /script posX=0; posY=0
    /script posX,posY=GetPlayerMapPosition("player")
    /script posX=floor(posX*10000) / 100
    /script posY=floor(posY*10000) / 100
    /script DEFAULT_CHAT_FRAME:AddMessage(format("[ %s ] %.2f , %.2f",GetZoneText(),posX,posY));

    If I've typed it correctly, this one will give your current zone and coordinates (I decided to round it to 2 decimal places, but change the last like to whatever you feel like).

    Sometimes it behaves funny and gives me 0.00, 0.00 (usually if I just toggle my map on and off, it behaves properly again).

    I'm sure there are better and more concise macros out there, but this should do for now.  :)
  • BackTop
     
    Created by Thott - Thottbot 3.71 - Feedback