r/tf2scripthelp • u/Da-gamer • May 25 '14
Question Jump rebind script?
i wanted to make a script that when i click on mouse wheel it'll rebind my jump to mouse wheel down and when i click it again it'll bind it to space bar again and i was wondering if this is possible at all and if i could have help making it cause I'm a noob at these things btw i mean just click on it not hold it
3
Upvotes
View all comments
Show parent comment
1
u/Kairu927 May 25 '14
Basically, line 4 of his initial code, will "run" state1. He's calling the name of the alias. So basically he's saying: "This is state 1", "This is state 2", "Okay, now set us in state 1 by default". The one you provided did not have that final line.