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 in cyrodil and craglorn
(I didn't try anywhere else) while in a location of the
"normal" zone map.
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.