I have a few questions regarding the EVENT_ZONE_UPDATE event.
Im registering it when accepting the queue entering cyrodiil with the following and everything looks ok off the start:
EVENT_MANAGER:RegisterForEvent("MyAddon", EVENT_ZONE_UPDATE, MyAddon.QueueHourGlass)
But... upon entering cyrodiil it doesnt appear the "MyAddon.QueueHourGlass" function listed below was fired. It did once randomly but have bene unable to reproduce it again.
Is there a delay required before running it? The fact or worked once randomly suggests a timing thing to me. I also tried the EVENT_ZONE_CHANGED actually 1st and that was the one that worked once randomly.
Nevermind think i found it with On_player_activate from another post but if anyone else has any oother suggestions to avoid on_player_update im interested. I'd prefer to use that function as little as possible for performance reasons.