3

I do not like the way DotA2 has implemented the hold function.

I would like to have stop as a button to cancel attacks and spells but keep autoattacking activated.

On the other hand i would like hold as a button to cancel attacks and spells and disable autoattacking (not even autoattacking while in range).

So i want to combine both states of "Auto Attack", switching live while playing.

enter image description here

The reasoning behind this is the fact that i need to spam a key to not attack with a ranged hero.

Basically this would be the behavior Heroes of Newerth implemented.

Is there a way to achieve this?

7
  • no. Hold cancels commands but your hero will attack if anything comes in range. if you are melee this behavior is insignificant but as a ranged hero you need to spam your stop command to not attack. for example if you are waiting in a jukespot to leech xp you do not want to autoattack a nearby creep to give away your position.
    – Wandang
    Commented Feb 1, 2014 at 10:57
  • then i quite don't understand what you are trying to achieve
    – WizLiz
    Commented Feb 1, 2014 at 10:58
  • @WizLiz i am going to make a video for you then
    – Wandang
    Commented Feb 1, 2014 at 11:06
  • @WizLiz i added the video. hope it becomes more clear now.
    – Wandang
    Commented Feb 1, 2014 at 12:03
  • 1
    I'm confused here- what's the problem with playing with autoattack off and just using A+left click when you'd like to attack without targeting?
    – Decency
    Commented Feb 3, 2014 at 15:13

1 Answer 1

5

Yes, just use this script:

alias "autoAtkOn_Stop" "dota_player_units_auto_attack 1;dota_stop"
alias "autoAtkOff_Hold" "dota_player_units_auto_attack 0;dota_hold"
bind "S" "autoAtkOn_Stop"
bind "D" "autoAtkOff_Hold"

Change S and D according to your needs.

This script does set the autoattack-setting from the settings menu to on when you press S and issues a stop command(canceling your spellcast,attack).

If you press D it will set the autoattack to off and issue a hold command(basically the same as before)

See this video for live demonstration:

1
  • Okay I get it now, pretty neat stuff
    – WizLiz
    Commented Feb 1, 2014 at 12:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.