Raid target icon macro

Now that midnight has restricted use of SetRaidTargetIcon, how can we create a macro to set our focus and mark the target? for example, previously we could do:

/focus mouseover
/run SetRaidTargetIcon(“mouseover”, 3)
/focus mouseover
/tm [@mouseover] 3

https://warcraft.wiki.gg/wiki/MACRO_targetmarker

1 Like

Here’s an example using modifiers for multiple icons:

/tm [mod:shift] 1; [mod:alt] 2; [mod:ctrl] 3; [nomod] 8