Originally Posted by
Edx
Anyone know if it's possible to swap target and focus with a macro? Was thinking using a /script but apparently changing focus from script is blocked.
This was what I derived from a post on official forums: http://us.battle.net/wow/en/forum/topic/1922562893
Code:
/cleartarget [@target,dead]
/clearfocus [@focus,dead]
/target focus
/cleartarget [@focus, noexists]
/targetlasttarget [@focus,exists]
/focus [@focus,exists,@target,exists]
/targetlasttarget [@focus,exists]
/focus [@focus,noexists]
Don't have time to test it out right now though. It's an older post and I'm not sure if any changes have been implemented that would prevent it from working as desired because I've had issues before with macros containing more than one target command in it.