View Single Post
01-13-21, 05:26 PM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
The "a" table with the numbers contains the marker ids. It only has 6, in order: skull, moon, square, triangle, diamond, and cross. You just need to add the other two, which is 5 for star and 6 for circle.

I rewrote the script to include all eight markers, ordered in the same way the UI orders them (Skull, Cross, Square, Moon, Triangle, Diamond, Circle, then Star), and making the entire thing shorter and cleaner. The macro you have is 249 total characters long, mine is 232.

Code:
/cleartarget
/tar Lunarlight Bud
/run local m,t={8,4,1,7,2,3,6,5},"target" CycTarMar=CycTarMar or 1 if UnitName(t) and not GetRaidTargetIndex(t) then SetRaidTarget(t,m[CycTarMar]) PlaySound(120,"Master") CycTarMar=CycTarMar%#m+1 end
  Reply With Quote