WoW:API GetPlayerMapPosition: Difference between revisions

m
no edit summary
mNo edit summary
Line 30: Line 30:
{{spc}}
{{spc}}
: 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 an instance: the game will never return coordinates inside an instance. (CHANGED AS OF 3.0.1 - coordinates are returned within instances)
:* The player is inside an instance: the game will never return coordinates inside an instance. (CHANGED AS OF 3.0.1 - coordinates are returned within instances) (CHANGED again AS OF 3.0.3 - coordinates are no longer returned inside instances)
:* 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