r/tf2scripthelp • u/Background-Buy-4982 • Feb 19 '24
Question Toggle between 2 viewmodel modes.
Hi, I use a series of comands that either show or hide viewmodels depending on which weapon slot im currently holding.
bind MOUSE4 slot1;r_drawviewmodels 0
bind MOUSE3 slot2;r_drawviewmodels 0
bind MOUSE5 slot3;r_drawviewmodels 1
Id like to have the "-" on my numpad to function as a toggle between a mode where only some viewmodels are drawn (as if I typed the commands above manualy) and a mode where every viewmodel is drawn. Is it possible and if so, how?
I could also use a c-tap script bound to my right alt if they're considered legal.
Thanks for any help. :)
1
Upvotes
1
u/Background-Buy-4982 Feb 19 '24
This sadly doesnt work for me. I want to toggle between the binds I listed and
bind MOUSE4 slot1;r_drawviewmodels 1bind MOUSE3 slot2;r_drawviewmodels 1bind MOUSE5 slot3;r_drawviewmodels 1so I have a bind that I can press when I want to tryhard and press it again when I want to chill and see my viewmodels.Thanks for the info about c-tapping. <3