A Man In Black ([info]amib) wrote in [info]worldofwarcraft,
@ 2007-10-24 22:11:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
A handy macro
Did you know you can call your coordinates without any kind of addon? This macro dumps your current coords to the chat frame, no fuss, no muss.

/script px,py=GetPlayerMapPosition("player")
/script DEFAULT_CHAT_FRAME:AddMessage(format("( %s ) %i,%i",GetZoneText(),px *100,py *100));



(Post a new comment)


[info]irda
2007-10-25 04:30 am UTC (link)
Well I rarely want my coords. I want the coords of that goddamn mob I'm supposed to kill up in those damn mountains. But I suppose that can come in handy.

(Reply to this)


[info]noabsolutes
2007-10-25 04:33 am UTC (link)
I run this one -


/script PlayerX,PlayerY=GetPlayerMapPosition("player")
/script PlayerX=floor(PlayerX*100)
/script PlayerY=floor(PlayerY*100)
/script DEFAULT_CHAT_FRAME:AddMessage(format(TEXT("Current Position: %d, %d"),PlayerX, PlayerY),51,102,0)

(Reply to this)

I prefer...
[info]wobin
2007-10-25 05:02 am UTC (link)
/script px,py=GetPlayerMapPosition("player")
/script DEFAULT_CHAT_FRAME:AddMessage("Behind you, stealthed.")

but really, you can put it all on one line:
/script local px,py=GetPlayerMapPosition("player"); DEFAULT_CHAT_FRAME:AddMessage(format("( %s ) %i,%i",GetZoneText(),px *100,py *100));

(Reply to this)


[info]ysathora
2007-10-25 05:45 am UTC (link)
http://www.wowlocator.com/

That's pretty handy, too.

(Reply to this)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…