WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   TomTom script questions (https://www.wowinterface.com/forums/showthread.php?t=58153)

scootrose 08-15-20 02:21 PM

TomTom script questions
 
I saw this script online to create a macro that adds waypoints. I would like to use this in other areas with other coords but I can't see to find the proper ID needed to update other zones.

Code:

/run if TomTom then 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:AddWaypoint(1527,v[1]/100,v[2]/100,{title="Friendly Alpaca"})end;end
I believe 1527 stands for Uldum but I can't verify nor do I know where to find the ID needed for another zone (eg. Tanaan Jungle). I thought the MapID was the key but I am unable to find 1527 in the list and updating that value with anything else does not see to place markers anywhere. Thanks in advance for any help.

Ketho 08-15-20 03:12 PM

Quote:

Originally Posted by scootrose (Post 336622)
I can't verify nor do I know where to find the ID needed for another zone (eg. Tanaan Jungle).


Tanaan Jungle would probably be 534
https://wow.gamepedia.com/UiMapID

Kanegasi 08-15-20 03:15 PM

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


All times are GMT -6. The time now is 11:59 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI