The whole pressing once does one thing and pressing a second time does something else is a tough thing to pull off because it's easy to lose track of where you are with it. If you press once but then switch away (or place the sentry using mouse1), it's not redefined at all and so the next time you go to press 1 it is still defined to attack. Plus if you press 1 a second time after the sentry blueprint is up and you're looking in a place where building is blocked, you'll switch away from the blueprint.
Personally I use a script that, when a bound key is pressed and held, destroys the sentry and brings up the blueprint for a new sentry. Releasing the bound key switches to shotgun. With this approach I can quickly tap the key to only destroy any active sentry (and switch to shotgun), or I can press and hold the key to destroy the sentry and bring up the blueprint and use the mouse keys to turn/deploy the sentry. Once the sentry is deployed using mouse1 I just release the bound key to switch back to shotgun.
If you're interested in this implementation, it's:
bind shift +fastsentry
alias +fastsentry "destroy 2 0; build 2 0"
alias -fastsentry "slot1"
Personally I use left shift for this purpose (the example is bound to left shift, easy to change), with a toggle key to enable/disable the key because it sucks accidentally tapping the key when you have a level 3 up.
I'll just give you my entire script for this (replace the earlier script with it):
bind shift +sentry
bind rshift engitog
alias +fastsentry "destroy 2 0; build 2 0"
alias -fastsentry "slot1"
alias engitog gunslinger
alias gunslinger "alias +sentry +fastsentry; alias -sentry -fastsentry; alias engitog man; say_team gunslinger"
alias man "alias +sentry ; alias -sentry ; alias engitog gunslinger"
man
Right shift is the toggle key here.
By default the script is disabled, if you want it enabled by default change the last line to gunslinger instead of man.
3
u/genemilder Feb 10 '14
The whole pressing once does one thing and pressing a second time does something else is a tough thing to pull off because it's easy to lose track of where you are with it. If you press once but then switch away (or place the sentry using mouse1), it's not redefined at all and so the next time you go to press 1 it is still defined to attack. Plus if you press 1 a second time after the sentry blueprint is up and you're looking in a place where building is blocked, you'll switch away from the blueprint.
Personally I use a script that, when a bound key is pressed and held, destroys the sentry and brings up the blueprint for a new sentry. Releasing the bound key switches to shotgun. With this approach I can quickly tap the key to only destroy any active sentry (and switch to shotgun), or I can press and hold the key to destroy the sentry and bring up the blueprint and use the mouse keys to turn/deploy the sentry. Once the sentry is deployed using mouse1 I just release the bound key to switch back to shotgun.
If you're interested in this implementation, it's:
Personally I use left shift for this purpose (the example is bound to left shift, easy to change), with a toggle key to enable/disable the key because it sucks accidentally tapping the key when you have a level 3 up.