GetZoneText() returns the name, not the ZoneID.
C_Map.GetBestMapForUnit("player")
This will return the zoneid, don’t know if there’s a different, or shorter, way nowadays.
GetZoneText() returns the name, not the ZoneID.
C_Map.GetBestMapForUnit("player")
This will return the zoneid, don’t know if there’s a different, or shorter, way nowadays.