I posted this last week when I found it on the PTS:
Waypoint Bug
I thought I would post it again and give it its own thread this time since its now on the live servers:
Waypoints, on the normal zone maps, removed with RemovePlayerWaypoint() get recreated when zooming back into your zone on the map.
By "normal" zone maps I mean that I could not reproduce it while in a subzone that has its own map, like a town.
With no addons installed I was able to reproduce this on several zone maps.
Steps to recreate:
- Open the map & set a waypoint in the zone.
- Close the map
- Run: /script RemovePlayerWaypoint()
- Open the map
- Right click to zoom out to the Tamriel map.
- Left click on your zone to zoom back in to your zone.
- The waypoint gets recreated.
If it helps track it down I also noticed that the bug does not occur if:
- You remove the waypoint by hoovering your mouse over it on the map & using the hotkey to remove the waypoint.
- You /reloadUI after you set the waypoint and before you open the map to zoom out to Tamriel & back in to your zone.
- I could not reproduce it in subzones that have their own maps like towns.