r/Tf2Scripts • • Mar 26 '19
Satisfied Script to switch to a weapon shoot and switch back.
Any got a script that lets me do this? Thanks!
4
Upvotes
r/Tf2Scripts • • Mar 26 '19
Any got a script that lets me do this? Thanks!
3
u/RingoTheFlamingo Mar 27 '19
alias +shoot "+attack; slot2"
alias -shoot "-attack; lastinv"
bind <key> shoot
replace "slot2" with another slot if you want it to be for a weapon other than secondary
2
u/Stack_Man Mar 26 '19
You'll need to utilize the wait command to do this.
waitisn't allowed on some servers.slot1is primary, replace withslot2orslot3for secondary or melee.