Features:Don't Deselect
When your currently selected target enters the fog or becomes invisible, it won't be deselected. This allows you to continue to view that target's items/health/mana.
(Note, this will NOT update the target's information. It simply shows the information from the last time the target was visible.)

When the target is visible and active (and the target's information is being updated), the UI looks like this:

When the target is not visible, it is inactive (and the target's information is NOT being updated), the UI looks like this:

Press ESC, or whatever key you rebound it to, to clear the target, and display the normal command buttons.

Automatic Reselect
If your selected target enters the fog, and then later re-emerges, this mod will automatically reselect him.
The same applies to invisibility. If your target goes invisible, this mod will reselect him as soon as he becomes visible.

Attack Target Hotkey
This mod adds a rebindable-hotkey to the game options. This hotkey is called "Attack Target"
When you press this hotkey, your hero will automatically try to attack the target you have selected.

Also, if you are currently choosing the target of an ability (ie. you are using the cross-hair cursor), and you press this hotkey, your hero will automatically use that ability on your selected target.

Announce Target Hotkey
This will display the name of the current target in Team Chat

Known Issues

Code:

-The attack/move icons are greyed out. This is to prevent a bug that would occur if you click them. To move/attack, use a hotkey.
-Double-select-centering is disabled (other than for your hero) when your target is inactive.

Changelog

Code:

v1.80
-All Right Click Deny functionality removed.
v1.70
-Updated for HoN v1.0.0
v1.60
-Integrated Right Click Deny
-Moved the hotkeys to Mod Options Framework
-Added announce target hotkey
-Fixed a bug with left-click becoming nonresponsive
v1.51
-Fixed a bug with left clicking while in spectator
v1.50
-Updated for FE2
v1.40
-Fixed another control bug
-Double selecting your hero will now center the camera correctly.
v1.30
-Fixed a bug that prevented you from controlling Wildsoul's bear or ophelia's creeps
v1.2
-Fixed a bug that caused your hero to freeze when you issue attack/move/patrol commands
-Fixed a bug with conflicting hotkeys
-Fixed a bug that caused an annoying clicking sound to loop when the target is inactive
v1.1
-Fixed a bug that would cause a spam of "Invalid Target" when your target was inactive.
-This mod will no longer permanently set cg_cmdrDoubleSelectTime to 0
-Fixed a bug that allowed the Attack Target hotkey to work when you have no target selected.
v1.0
-Initial release

This makes juking way harder. I don't like mods like this should be allowed.

"The game will be way better than the 2 major competitors combined, we have upgraded the gameplay and systems and everything to inhuman levels. Also, I don't want to comment some of the features of our competitors but I got to say that at least our servers will be up all the time. We don't want to disappoint our customers. If you liked DotA you will love Dota 2."

Yea if you ask me, the mod will re-select the hero & issue an attack command for you with 1 button press?

I'm pretty sure this is bordering on Bot systems

Originally Posted by Idejder

Just to give some perspective on how rage-inducing it is watching files fail to upload properly for no good reason, if there was a small cute animal in this room when this started I would, at this point, have killed it and be wearing its skin as a hat.

About Nymph - "Am I the only one who finds it hilarious that everyone calls her the worst hero in the game before and a couple of small changes make her the most OP hero known to man? Calm down and let it set in before crying nerf. "

1) If you select a new unit to control (e.g. via F1, as KaliKot noticed), SelectedVisible0 gets set to "false", so you immediately reselect the locked target, making double-tapping to center the camera impossible. I guess one way to fix this might be to do something like intercepting orders to change the active unit, and just issuing a center camera command if that unit is already active.

2) ToolTargetingEntity is only true when targeting skills. If you just issue an OrderAttack command, ToolTargetingEntity remains false. I suspect this means that if the locked target goes from invisible to visible while you have OrderAttack up, you'll immediately issue an attack command on the locked target, which might be undesirable. I would suggest intercepting OrderAttack and using a custom trigger for determining whether you're targeting (unless there's a cleverer way to do this). I guess this might hold for OrderMove and stuff too, but does anybody actually ever use those?