4 local function tomtom_wp_update(c
, z
, x
, y
, desc
)
6 TomTom
:RemoveWaypoint(tomtom_uid
)
11 tomtom_uid
= TomTom
:AddZWaypoint(c
, z
, x
*100, y
*100, desc
, false, false, false)
15 function QuestHelper
:EnableTomTom()
18 tomtom_cb
= QuestHelper
:AddWaypointCallback(tomtom_wp_update
)
23 function QuestHelper
:DisableTomTom()
26 TomTom
:RemoveWaypoint(tomtom_uid
)
29 QuestHelper
:RemoveWaypointCallback(tomtom_cb
)