Run command for Tab Targeting only mobs in combat

Hi,

I had submitted a suggestion requesting some way to limit the range of tab targeting and a mod posted a run command that made it so i would only tab target to mobs I’m in combat with.

I ran the command and it worked, but now I’ve changed toons/specs and it’s tabbing to mobs I’m not in combat with again. I tried to find the old post, but with the forums having moved, I don’t have access to look at my posting activity on the old forums. Could someone re-post that run command for me?

Thanks!

You are still able to view the old forums and search through your post history, at least for the time being.

The old forums are here: https://us.battle.net/forums/en/wow/

The bar at the top prevents you from clicking on your post history there, but if you open up any of the threads and scroll to the bottom you will be able to click on your posts there.

You are also still able to change your posting character, so if you aren’t currently logged into the character that asked you will be able to switch to it.

4 Likes

I tried to find it manually before posting here, but without being able to view my post history, I’m not going to find it. xD

I would just do it with a macro, but it seems they broke the ability to range check in macros. In my original post I was asking if we could have an option in the interface to set the max range for targets we tab target to and the response with a command that made tab target only target mobs in combat.

I’ve read issues where as a melee sometime tab target would prioritize caster mobs who are casting spells first. If casters arent casting then it focuses on closes target first.

Someone in the UI and Macro forums might be able to help out. That’s probably the best place to ask at least:

1 Like

Has your post history been erased there for some reason?

I am still able to access my characters post history on that forum. Unless yours is bugged out, you should be able to access it.

It used to be an issue when tanking of having to tab through 10 mobs that aren’t even part of the combat before I could tab target a mob right in front of me. Now I’m playing Boomkin and it keeps tabbing to mobs out of combat and if I’m not careful, I’m pulling extra mobs with ranged attacks. I was editing in the part about macros when you posted to try that forum, but macros can’t fix it because they can’t range check anymore.

Is there a way to view post history other than where the bar at the top blocks it? It’s an issue of the post being buried somewhere, not erased. I’m not even sure which forum I posted it in.

Looking at the old forum I found this command to help with the tab targeting issue:

/console TargetNearestUseOld “1”

but it doesn’t quite sound like the one you were referring to.

If you click on any thread and scroll to the bottom you’ll find your avatar down there as well and you can click on your post history.

If you need to change your posting character there first you still can at the top, the option to change the character hangs out of the bottom a bit so you can click on that part.

1 Like

Took me a minute, but I found what you’re talking about at the bottom.

Here’s the answer.

/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)
5 Likes

Glad you were able to find it, and thanks for sharing it here for others to use :slight_smile:

1 Like

no thank you for helping me find it. xD

1 Like