View Single Post
11/02/14, 04:51 PM   #8
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
A silly question - are you trying it in Auridon? It wont work in different zones because there are no image paths.

Make a small change:

Lua Code:
  1. local function QuestMaps()
  2.     local zoneIndex = GetCurrentMapZoneIndex()
  3.     local imgQuests = questZone[zoneIndex]
  4.     if type(imgQuests) == "string" then
  5.         image:SetTexture(imgQuests)
  6.         tlw:SetHidden(false)
  7.     else
  8.         tlw:SetHidden(true)
  9.     end
  10. end
  Reply With Quote