1 QuestHelper_File
["tomtom.lua"] = "Development Version"
2 QuestHelper_Loadtime
["tomtom.lua"] = GetTime()
7 local function tomtom_wp_update(c
, z
, x
, y
, desc
)
9 TomTom
:RemoveWaypoint(tomtom_uid
)
13 if not QuestHelper_Pref
.hide
and c
and c
>= 0 then
14 tomtom_uid
= TomTom
:AddZWaypoint(c
, z
, x
*100, y
*100, desc
, false, false, false)
18 function QuestHelper
:EnableTomTom()
21 tomtom_cb
= QuestHelper
:AddWaypointCallback(tomtom_wp_update
)
26 function QuestHelper
:DisableTomTom()
29 TomTom
:RemoveWaypoint(tomtom_uid
)
32 QuestHelper
:RemoveWaypointCallback(tomtom_cb
)