Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
→ WoW API
|This is no longer a part of the World of Warcraft API.
Returns the postion of a unit relative to the world.
loc = GetCurrentPosition("unit");
- locY, locX, locZ as one string.
- Number - Y value of the player's position.
- Number - X value of the player's position.
- Number - Z value of the player's position (0 is sea level).
local locX, locY, locZ = GetCurrentPosition("player"); DEFAULT_CHAT_FRAME:AddMessage(locX .. ", " .. locY .. ", " .. locZ);
1773.85, 63.06, -46.32