How do i add a waypoint in TomTom from inside a addon
in the TomTom_Waypoints.lua file line 7-8 it says
Code:
-- don't call TomTom:SetWaypoint() or TomTom:ClearWaypoint(), use the public
-- TomTom:AddZWaypoint() and TomTom:RemoveWaypoint() instead.
so i'm trying the following
Lua Code:
local waypoint = "Wintergrasp 50.4 16.4 Vault of Archavon"
if waypoint then
if IsAddOnLoaded("TomTom") then
TomTom:AddZWaypoint(waypoint)
else
print(waypoint)
end
end
if someone could help me out that would be very great