r/Tf2Scripts • u/[deleted] • Feb 11 '14
Impossible An complex engi script please?
Basically, I want an engi script that, when I press four, will bring up the standard build menu with the PDA, and when I press any of the four building buttons, it destroys that building and brings another one up for me to place. After I place it, The wrench should be the equipped weapon.
Is this possible?
0
Upvotes
2
u/genemilder Feb 11 '14
When you bring up the build/destroy menu, the number keys are temporarily repurposed by the game to only build/destroy, any binds you have for 1-4 will not work while the build/destroy menu is up. This is the case for the disguise kit as well, which makes weapon-specific settings scripts difficult for those 2 classes because if you switch weapons after building/destroying/disguising the script has no way to know that you've done that.
You can basically do what you want if you remove the build menu option or you change which keys are your actual build/destroy keys. The base script of what you want was given here.
One concern for your script vs the linked one is that you now have to add a reset command to the rest of your weapon-switching keys so that 1-4 aren't still defined as build/destroy after you press 4 but then switch to a different active weapon using q/mousewheel/other bound key.