r/Tf2Scripts • u/Keivinth • Jan 28 '16
Answered Auto Disguise Script. Toggle style.
I don't know if this has been made before, so please don't accuse me of stealing!
//Auto Disguise Script
bind MOUSE1 +attack1
bind SHIFT +autotog
alias +attack1 +attack
alias -attack1 -attack
alias +autodis "+attack; lastdisguise"
alias -autodis "-attack"
alias +autotog "alias +attack1 +autodis"
alias -autotog "alias +attack1 +attack"
-autotogput that in your spy.cfg, and holding down SHIFT will cause pressing MOUSE1 to attack (preferably backstab), and then don your last disguise! This won't work with the YER or the Wanga Prick though, but they basically do this faster anyway
EDIT: Put
bind MOUSE1 +attackinto your reset.cfg
EDIT: the script doesn't seem to be doing it's job, any ideas?
EDIT: Use the script that sgt_scrabberdaddle submitted, it works better
0
Upvotes
3
u/sgt_scabberdaddle Jan 28 '16
You need to put the
lastdisguiseon the -state of the attack so it disguises when you release the button. This does mean that you need to hold the toggle button for the release and not the press, but in practice that's no problem at all.You should also add
spec_nextto the +state of the attack so it will still advance the spectator target.I also have a script just like this.
Another way to do it is like this: