View Single Post
06/30/17, 02:15 PM   #3
iwontsay
AddOn Author - Click to view addons
Join Date: Apr 2016
Posts: 27
Originally Posted by sirinsidiator View Post
Don't think there is an explicit event for that.
You could try to hook into the method that starts fasttravel and set a boolean. I think it's save to assume that EVENT_PLAYER_ACTIVATED is fired when you arrive at the destination. Check the boolean in the event handler and you should have what you want.
It is. I noticed it with a bug in the AddOn "SocialStatus" which failed to deregister itself from the event after being fully logged in. Without this, it resetted my online status whenever I switched areas. That included fast travel or entering or leaving a dungeon or delve.

But if you wish to explicitely catch fast travel and ignore everything else that involves an area transition, sorry, you may be out of luck. There you might have to set a flag when a fast travel is initiated (or register for event listening) and have the event handler do the rest.
  Reply With Quote