r/Tf2Scripts • • Feb 21 '24

Question Alternative engineer building script/toggle key function

Looking for a way to make pressing Mouse4 toggle M1, M2, M5, and M4 into engineer buildings selections. After building is placed, I’d like for it to reset those inputs into what I had before.

My go at it which doesn’t work:

bind mouse4 buildings

alias buildings “slot4;sentry;dispenser;entrance;exit”

alias sentry “bind mouse1 destroy 2 0;build 2 0;return”

alias dispenser “bind mouse2 destroy 0 0;build 0 0;return”

alias entrance “bind mouse5 destroy 1 0;build 1 0;return”

alias exit “bind mouse4 destroy 1 1;build 1 1;return”

alias return “sentry1;dispenser1;entrance1;exit1”

alias sentry1 “bind mouse1 +attack”

alias dispenser1 “bind mouse2 +attack2”

alias entrance1 “bind mouse5 slot3”

alias exit1 “bind mouse4 buildings”

1 Upvotes

2 comments sorted by

View all comments

Show parent comment

2

u/mediareceptacle Mar 04 '24

I really appreciate the time you took to explain this. I’ll try your script ASAP and report back. Sorry for the late reply btw