r/tf2scripthelp • • 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

10 comments sorted by

View all comments

Show parent comment

1

u/genemilder Scripter Mar 06 '14

The reason you need to define -uber is 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 +uber are not called, so you need to make sure you hardcode them in -uber.

If I hadn't defined -uber it would be like you constantly held down mouse2.

1

u/TheMisterAce Mar 07 '14

Thank you :)