Team Fortress 2

Team Fortress 2

212 ratings
Scripting Build/Destroy buttons with Engineer
By AnonymoScoot
I've seen plenty of engineers that loose time on stupid weapon switching to destroy and then rebuild a sentry. It costs them time and sometimes even their buildings. Here i will show you how to rebuild a sentry(or other buildings) in just ONE-CLICK.
3
2
   
Award
Favorite
Favorited
Unfavorite
Binding
It is possible to make script that will automaticlly destroy and then rebuild any of the buildings.
It only takes to press one button to build whatever you want.
Here is the script:

alias sentry "destroy 2; build 2";
alias dispenser "destroy 0; build 0";
alias entrance "destroy 1; build 1";
alias exit "destroy 3; build 3";
bind (button) sentry;
bind (button) dispenser;
bind (button) entrance;
bind (button) exit

Copy this whole text to your console and repleace the "(button)" fields with the button of your choice. If you want write everything one-by-one command, don't write ";" after every command.

Now, anytime you press the button you have binded it will directly activate Destroy and Build commands.This way you won't worry about switching weapons, everything is instant!
Gameplay
With normal wrench you want to use this to quickly set up your defense. Time in here is very important. Don't loose any second. Also if you know that your buildings will be destroyed you can quickly repleace them.


It is more usefull with Gunslinger. Everybody is annoyed when his mini sentry will be destroyed in the middle of fight and have to quickly repleace it with new one.With simply pressing one button that will build you new one with instant you won't worry about that.
Also, if your building is sapped you can't destroy it with "Destroy" command and thust you can't build new one.
Glitches
If you will press Button that builds you teleporter entreace (or any other building) and you will taunt with action item (like High-Five), press that build button again while taunting and you wil be pleaced to "T" pose. You won't hold any gun but you can switch to other.This is funny when doing in public servers and everybody is wondering how are you even walking and why you don't shoot.


You can do one funny thing in MvM. If you gonna repeatly keep pressing "build button" and placing buildings, destroyed buildings will create broken parts (which acts just like medium ammopacks). After some time there will be brokens parts EVERYWHERE. Everytime I do this on some random server people are looking at me like shocked and asking me how do I do it (and sometimes calling me cheater lol).
89 Comments
GeeCab May 29 @ 11:54pm 
now pressing 4 makes tf2 crash (not crash but close itself)
GooberBoobs Apr 10 @ 6:57pm 
"alias tele_exit "destroy 3; build 3"; bind 4 tele_exit" makes my game close
Kazuya Mishima Mar 23 @ 11:33am 
this bind is fucking amazing for battle/aggro engiee, its borderline necessary for gameplay
Jabob Mar 8 @ 6:47pm 
@8.5 Carrots you need to get rid of the parenthasis as well, so instead of bind (r) for example, just do bind r
Carrot π Dec 18, 2024 @ 10:57am 
how do you get around the newpatch? it keeps saying i cant bind the mouse and keeps asking for <key> and [command]
Aachen Oct 4, 2024 @ 1:15pm 
omg thanks so much engineer gaming i was wondering why my game kept exiting when I was tryin to build a tele exit
Uncle Wayne (REAL) Sep 6, 2024 @ 6:17pm 
keeps reseting everytime i reopen game
Engineer Gaming Sep 4, 2024 @ 9:42am 
FYI for anyone copy and pasting the code. you need to change any instance of "exit" to "tele_exit" otherwise the code binds 4 so you can exit the game
omar whateew omar Aug 15, 2024 @ 9:14am 
alias sentry "destroy 2; build 2";
alias dispenser "destroy 0; build 0";
alias entrance "destroy 1; build 1";
bind 6 sentry;
bind 7 dispenser;
bind 8 entrance;
alias tele_exit "destroy 3; build 3"; bind 9 tele_exit
Nikkelsson Aug 10, 2024 @ 1:39pm 
Gamer_X ty very much for the fix!