Thread Tools Display Modes
03/02/16, 03:30 PM   #1
Terrillyn
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 24
correct usage EVENT_ZONE_CHANGED?

I'm currently trying to use EVENT_ZONE_CHANGED, dumping out the params every time its called and its giving me unexpected results

wiki definition:
Code:
EVENT_ZONE_CHANGED (integer eventCode, string zoneName, string subZoneName, boolean newSubzone, integer zoneId, integer subZoneId)
example output:
Code:
EVENT_ZONE_CHANGED( number: 131235, string: , string: , boolean: false )
EVENT_ZONE_CHANGED( number: 131235, string: , string: House Dres Farmstead, boolean: false )
After running around Deshaan for a bit, it never seems to pass the zoneId or subZoneId params, and newSubZone is always false

Was the definition changed and simply not reflected on the wiki?
  Reply With Quote
03/02/16, 03:52 PM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Events is updated for TG update. On live, you don't have the last params.
  Reply With Quote
03/02/16, 06:38 PM   #3
Terrillyn
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 24
Ok, Wiki doesn't state what version, thanks.
Still a little confused as to why newSubZone is always false.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » correct usage EVENT_ZONE_CHANGED?


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