Thread Tools Display Modes
10/25/15, 04:00 PM   #1
Enodoc
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 52
New Zone Event?

Is there an event which fires when you go into a new zone (ie, through a loading screen)? I've found EVENT_ZONE_CHANGED which only seems to fire when you enter or leave POI areas, and EVENT_ZONE_UPDATE which I can't find the firing criteria for at all, but nothing for actually entering a new zone (ie, firing for a change of ZoneId or ZoneIndex). Also, what's the difference between ZoneId and ZoneIndex? More functions seem to use the latter.

Thanks for any assistance!
  Reply With Quote
10/26/15, 02:50 AM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Event_player_activated
  Reply With Quote
10/26/15, 11:39 AM   #3
Enodoc
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 52
Originally Posted by Ayantir View Post
Event_player_activated
That's brilliant, thanks! Totally wouldn't have considered something like that, and yet it makes complete sense.
  Reply With Quote
10/27/15, 05:06 AM   #4
Fyrakin
 
Fyrakin's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 129
This event only fires when loading screen happens. Sometimes it may fire when loading screen pops while you move inside a well crowded zone. It won't fire when you cross zone/subzone map though.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » New Zone Event?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off