Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/13/17, 03:10 PM   #1
patrick_smyth
AddOn Author - Click to view addons
Join Date: Oct 2016
Posts: 9
Maximum Zone Index

In my current project I build a table of zone names using:

Code:
            zoneName = GetZoneNameByIndex(zoneIndex)
            zoneId = GetZoneId(zoneIndex)
            canJump, result = CanJumpToPlayerInZone(zoneId)
My problem is finding out the maximum value for zoneIndex. At the moment 562 works fine but 563 results in a hang on my system and I have to kill the client process. I know this value changes often so I do not want to hardcode it (562). At the moment the table is recreated every time the module initialises.

I have a similar table for nodes but there I use GetNumFastTravelNodes(). I cannot find anything like this for zones.

Any advice?
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Maximum Zone Index


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