Thread: 2.3 Update
View Single Post
02/04/16, 04:25 PM   #30
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
ZoneIndex to ZoneId

Wrothgar seems to be the only zone those index has changed (from 395 to 396).
But this time we have the new functions GetZoneId(zoneIndex) and GetZoneIndex(zoneId)
e.g. GetZoneId(GetUnitZoneIndex("player"))

This is a transform table from "old" zoneIndex to new zoneId, if you have to convert data:
-1 means: no such zone name found in 100014.
Example: 395 (live) => 684 and GetZoneIndex(684) = 396 (PTS)
Warning: Spoiler

Last edited by votan : 02/05/16 at 12:28 AM.
  Reply With Quote