r/tf2scripthelp • u/TheMisterAce • Mar 06 '14
Answered Would this Medic script work?
I want the Medic to say "Go! Go! Go!" when I Über:
bind "MOUSE2" "+attack2"
bind "MOUSE2" "voicemenu 0 2"
I don't know if it works.
Also, if I want to reset it, do I need to put this in the reset.cfg:
unbind "MOUSE2" "voicemenu 0 2"
I would greatly appreciate help.
Thank you :)
2
Upvotes
View all comments
Show parent comment
1
u/genemilder Scripter Mar 06 '14
The reason you need to define
-uberis that when you bind a key to a + command/alias, the corresponding - is called when you release the key. The corresponding - for any + commands/aliases defined within+uberare not called, so you need to make sure you hardcode them in-uber.If I hadn't defined
-uberit would be like you constantly held down mouse2.