Thread: A plea to ZOS
View Single Post
08/12/16, 06:32 PM   #9
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Lua Code:
  1. for zoneIndex = 1, 9999 do
  2.     local zoneName = GetZoneNameByIndex(zoneIndex)
  3.     if zoneName ~= "" then
  4.         GLOBAL_DUMPER[zoneIndex] = zoneName
  5.     end
  6. end

PS: You should not use zoneIndex as they move at each DLC, but zoneId. You have few functions to get zoneId from zoneIndex and viceversa. (generally 2/3 index of public playable zones are moved)

Last edited by Ayantir : 08/12/16 at 06:57 PM.
  Reply With Quote