here’s a post with a pair of updated macros for TWW:
A few changes to the API made this a fun little excercise…
/run for i=1,C_Minimap.GetNumTrackingTypes() do local info=C_Minimap.GetTrackingInfo(i);if (info.name=="Track Humanoids") then local status = not info.active; C_Minimap.SetTracking(i, status); end end
Change “Track Humanoids” to “Track Beasts” or Dragonkin or Demons or Undead or … etc. as necessary.
::Updated macro to print a message in the chat box.
/run for l=1,C_Minimap.GetNumTrackingTypes() do i=C_Minimap.GetTrackingInfo(l); if(i.name=="Track Humanoids")then t=not i.active; C_Minimap.SetTracking(l, t); m="OFF"; if(t)then m="ON"; end print("Track Humanoids "..m); end end
You have to change the “Track Humanoids” to whatever else in 2 places now.
i believe the first macro will simply turn tracking on/off, while the second will do that and also print “[tracking] ON” or “[tracking] OFF” in the chat box
1 Like