Originally Posted by
SargorVirm
Im looking for a macro that marks a target on mouseover... and rotates through all 8 marks. So I click it on 1 thing and its a skull, click on another its an X... so on and so forth, eventually going back to skull...
All help appreciated... kinda dumb in Marco department
Try this:
Code:
/run local r,u,t,m,a,T=SMRI,UnitHealth,"target","mouseover",{8,7,6,5,4,3,2,1}if not r or IsShiftKeyDown()then r=1 end if 0~=u(m)then T=m elseif 0~=u(t)then T=t end if T then if GetRaidTargetIndex(T)~=a[r]then SetRaidTarget(T,a[r])end r=r%#a+1 end SMRI=r
To make the macro start back at skull again, you would press it with Shift held down, and check that Shift+whatever button you have this to is a free keybind.