Skip to content

Commit

Permalink
Merge pull request #155 from AetherV/Auto-Attack-Switch
Browse files Browse the repository at this point in the history
Auto Attack Toggle (3 Modes Switch)
  • Loading branch information
lupuleasa-core committed May 4, 2016
2 parents 4ef595a + 73c9ef0 commit 0cfd763
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ exec dota2_gameplay_mode/aliases/dota2_keybinds_cast_aliases.cfg

// Auto attack toggle (must be first configured here to work properly)
alias "auto_attack_toggle" "auto_attack_toggle_on"
alias "auto_attack_toggle_on" "playsound sounds/ui/tutorial_ui_ding_01.vsnd_c;dota_player_units_auto_attack_mode 2; dota_player_units_auto_attack_after_spell 1; alias auto_attack_toggle auto_attack_toggle_off; say_student Auto attack enabled"
alias "auto_attack_toggle_off" "playsound sounds/ui/ui_upgrade_ability_01.vsnd_c;dota_player_units_auto_attack_mode 0; dota_player_units_auto_attack_after_spell 0; alias auto_attack_toggle auto_attack_toggle_on; say_student Auto attack disabled"

alias "auto_attack_toggle_on" "playsound sounds/ui/ui_upgrade_ability_01.vsnd_c; dota_player_units_auto_attack_mode 2; alias auto_attack_toggle auto_attack_toggle_mid; say_student Auto-Attack Always"
alias "auto_attack_toggle_mid" "playsound sounds/ui/tutorial_ui_ding_01.vsnd_c; dota_player_units_auto_attack_mode 1; alias auto_attack_toggle auto_attack_toggle_off; say_student Auto-Attack Standard"
alias "auto_attack_toggle_off" "playsound sounds/ui/buttonclickrelease.vsnd; dota_player_units_auto_attack_mode 0; alias auto_attack_toggle auto_attack_toggle_on; say_student Auto-Attack Disabled"

// Auto select summoned units toggle
alias "auto_select_summoned_toggle" "auto_select_summoned_toggle_off"
Expand Down

0 comments on commit 0cfd763

Please sign in to comment.