Quantcast
WoWInterface - View Single Post - TomTom script questions
View Single Post
08-15-20, 03:15 PM   #3
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 507
TomTom has a function that adds waypoints to the current zone. You can also drop the "if TomTom" at the beginning, its redundant if you're using this macro in the first place.

Lua Code:
  1. /run for _,v in next,{{15,62},{24,9},{28,49},{30,29},{39,10},{42,70},{46,48},{53,19},{55,69},{63,53},{63,14},{70,39},{76,68}}do TomTom:AddWaypointToCurrentZone(v[1],v[2],"Friendly Alpaca")end end
  Reply With Quote