So I have a pistol script. Left click shoots at normal rate, right click at maximum rate.
It works just fine, but a side effect is that as an Engineer, I can no longer rotate buildings when placing them. Right click just places the building.
So I'm wondering, is there a specific console command for rotating buildings, so I can bind it to a key I'm not using?
If not, what can I add to my script to make an exception to rapid-fire pistol when in the build menu, so that it works like normal?
Here's the script, if needed. I got it from the TF2 Wiki :
Thanks in advance.
It works just fine, but a side effect is that as an Engineer, I can no longer rotate buildings when placing them. Right click just places the building.
So I'm wondering, is there a specific console command for rotating buildings, so I can bind it to a key I'm not using?
If not, what can I add to my script to make an exception to rapid-fire pistol when in the build menu, so that it works like normal?
Here's the script, if needed. I got it from the TF2 Wiki :
Code:
// AutoPistol
// ==========
alias +apistol "alias repeat_function +repeat; +repeat" // While held down, starts the repeater function and sets it to repeat.
alias -apistol "alias repeat_function stoprepeating" // When released, repeat_function is disabled through the stoprepeating alias.
alias repeat_function "+repeat" // So long as this alias holds, +attacks and waits will continue to fire.
alias +repeat "+attack; wait 2; -repeat" // Repeater function attacks, waits, goes to -repeat.
alias -repeat "-attack; wait 2; repeat_function" // Stops attack, waits, fires another repeat_function.
alias stoprepeating ""
bind MOUSE2 "+apistol"
Thanks in advance.