View Single Post
10-25-16, 11:16 PM   #9
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
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).
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 10-25-16 at 11:40 PM.