View Single Post
03/29/15, 05:23 PM   #3
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Exactly what I need, thanks a lot

Case closed

Originally Posted by circonian View Post
Garkin made one & posted it here: http://www.esoui.com/forums/showthread.php?p=12693#post12693

Although yes you could do it yourself. I didn't log in & test this, but something like this would work:
Lua Code:
  1. local zoneTable = {}
  2. for zoneIndex = 1, 2000 do
  3.     local zoneName = GetZoneNameByIndex(zoneIndex)
  4.     if zoneName ~= "" then
  5.         zoneTable[zoneIndex] = zoneName
  6.     end
  7. end
  Reply With Quote