WoW:API GetPlayerMapPosition: Difference between revisions

m
Move page script moved page API GetPlayerMapPosition to WoW:API GetPlayerMapPosition without leaving a redirect
m (Move page script moved page API GetPlayerMapPosition to WoW:API GetPlayerMapPosition without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 21: Line 21:


: If both posX and posY are exactly 0, the position is unknown, unknowable, or not valid for the current map, i.e.
: If both posX and posY are exactly 0, the position is unknown, unknowable, or not valid for the current map, i.e.
:* The player is inside of a classic instance. Northrend instance will return non-zero map coordinates, but classic instances will always return (0, 0).
:* The map hasn't been updated yet; either open the map or use [[API SetMapToCurrentZone|SetMapToCurrentZone]]() after entering a new zone
:* The map hasn't been updated yet; either open the map or use [[API SetMapToCurrentZone|SetMapToCurrentZone]]() after entering a new zone
:* An unsupported [[unitId]] was given.
:* An unsupported [[unitId]] was given.
Anonymous user