Further testing on a rogue order hall with ZONE_CHANGED_NEW_AREA or PLAYER_ENTERING_WORLD registered and both calling SetMapToCurrentZone() when fired.
Glorious Goods entrance:
Niether event is fired entering or exiting the order hall. GetPlayerMapPosition("player") returns zeros when entering and coordinates when leaving.
EDIT: GetPlayerMapPosition("player") appears to be switching states. ie. if it's displaying zeros before entering it will show coordinates inside. if it's displaying coordinates before entering it will show zeros inside.
One More Glass entrance:
On entering, neither event is fired and GetPlayerMapPosition("player") returns zeros on entering (expected). On exiting, PLAYER_ENTERING_WORLD is fired which calls SetMapToCurrentZone() but GetPlayerMapPosition("player") still returns zeros.
Going to from my mage order hall gets both events entering and exiting and gets coordinates inside the order hall (I didn't expect that).
Last edited by Fizzlemizz : 10-25-16 at 11:40 PM.
|