Tekkub56883@legacy41576006 (talk | contribs) (→Checking Coordinates without addons: Simplified) |
Tekkub56883@legacy41576006 (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
*[[Map Notes]] |
*[[Map Notes]] |
||
⚫ | |||
− | == Coordinates [[macro]] == |
||
− | |||
− | /script SetMapToCurrentZone(); |
||
− | local px, py = GetPlayerMapPosition("player"); |
||
− | DEFAULT_CHAT_FRAME:AddMessage(string.format( |
||
− | "%s %.1f, %.1f %s",GetZoneText(), px*100, |
||
− | py*100, GetSubZoneText())); |
||
− | |||
⚫ | |||
Simply copy the following: |
Simply copy the following: |
||
− | /script local x,y=GetPlayerMapPosition("player") DEFAULT_CHAT_FRAME:AddMessage(format("%s: % |
+ | /script SetMapToCurrentZone() local x,y=GetPlayerMapPosition("player") DEFAULT_CHAT_FRAME:AddMessage(format("%s, %s: %.1f, %.1f",GetZoneText(),GetSubZoneText(),x*100,y*100)) |
Go into the game, open a chat box, paste, hit enter. Tada, your present coordinates for the zone will appear. This code can also be placed in a macro. |
Go into the game, open a chat box, paste, hit enter. Tada, your present coordinates for the zone will appear. This code can also be placed in a macro. |
Revision as of 20:44, 9 August 2007
Map coordinates are numerical references to locations on the WoW maps. You can display your coordinates with many AddOns. They are also called tloc, an abbreviation for "Thottbot location". It consists of a set of x/y coordinates, which is two numbers ranging from 0 to 100, representing a location on the current zone map.
- 0,0 represents the top left corner
- 100,0 represents the top right corner
- 0,100 represents the bottom left corner
- 100,100 represents the bottom right corner
- 50,50 is the exact center of the map
Cosmos users can show their current position under the minimap by typing /mntloc.
Various other AddOns are also capable of displaying your current tloc. Examples include:
- Titan Panel
- Map Notes
Checking coordinates without addons
Simply copy the following:
/script SetMapToCurrentZone() local x,y=GetPlayerMapPosition("player") DEFAULT_CHAT_FRAME:AddMessage(format("%s, %s: %.1f, %.1f",GetZoneText(),GetSubZoneText(),x*100,y*100))
Go into the game, open a chat box, paste, hit enter. Tada, your present coordinates for the zone will appear. This code can also be placed in a macro.