Tab Target only combat mobs

As a boomy, tab targeting sometimes targets mobs that are not in-combat. I found below link to prevent tab targeting from targeting non-in-combat mobs, but doesn’t seem to work. I copied the macro and pasted in the chat and tested in a dungeon, but still targets non-in-combat trash mobs. Anyone know a way to prevent tab targeting from targeting non-in-combat mobs?

/run SetCVar("TargetNearestUseNew",1)SetCVar("TargetPriorityCombatLock",2)SetCVar("TargetPriorityCombatLockHighlight",2)

  • enable the new (7.2) targeting (default 1)
  • combat lock to targets in combat with the player only (default 1 - lock to in-combat targets)
  • combat lock while using hold-to-target to targets in combat with the player only (default 0)

To target out of combat

/targetenemy [target=nocombat]

To target in combat

/targetenemy [target=combat]

combat and nocombat are not valid unitids so these wont accomplish anything useful.

Is it tabbing to them while you’re in combat or while you’re out of combat? It’s possible that if you’re not in combat the lockouts don’t apply.

You may also want to pickup AdvancedInterfaceOptions and check that the values are indeed set to what they should be and that an addon isn’t overriding them on the fly.