Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Attack Toggle #155

Merged
merged 3 commits into from
May 4, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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