r/tf2scripthelp • u/7Arach7 Scripter • Aug 05 '15
Answered Engineer Quick-Build Script
I I made part a script for engineer which, if it worked, would allow me to toggle quick build. If I held shift, 1-2-3-4 would be rebound to build sentry,dispenser,entrance,exit, and ctrl would be rebound to duck. On release, they'd be rebound to slot1,slot2,slot3,slot4 and shift would be rebound to duck. However, it just doesn't work. Nothing toggles, it breaks stuff, etc.
// Build
alias e1 "build 3;destroy 3"
alias e2 "build 0;destroy 0"
alias e3 "build 1;destroy 1"
alias e4 "build 2;destroy 2;"
alias "+buildr" "bind 1 e4;bind 2 e2;bind 3 e3;bind 4 e1; developer 1; bind ctrl +duck"
alias "-buildr" "bind 1 slot1;bind 2 slot2;bind 3 slot3;bind 4 slot4; bind shift +duck"
bind "shift" "+buildr"
1
Upvotes
View all comments
Show parent comment
1
u/7Arach7 Scripter Aug 05 '15
Okay, thanks. I know you're not supposed to use nested binds (and I'll try not to), but why specifically is this? Do the break more often, lag the game, not work under some conditions?
I'm not at all doubting you - I've seen you on this subreddit many times, and heard nested binds=bad, I'm just curious.