→Returns: 3.0.1 change - coords in instances
(Added that its a possibility to be at 0,0 legally) |
(→Returns: 3.0.1 change - coords in instances) |
||
| Line 18: | Line 18: | ||
{{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 | :* 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 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. | ||