r/Tf2Scripts • u/BonkDrinkerJr • Dec 05 '23
Request Toggle template
Hey trying to make some toggle binds but they keep failing
can anyone set up a template for me? using Q
2
Upvotes
r/Tf2Scripts • u/BonkDrinkerJr • Dec 05 '23
Hey trying to make some toggle binds but they keep failing
can anyone set up a template for me? using Q
2
u/just_a_random_dood Dec 05 '23
bindToggle [key] r_drawviewmodelwell here's one I use to turn my viewmodels on and off? Is this helpful for you?
bind [key] "toggle r_drawviewmodel 1 0; toggle viewmodel_fov 90 0"here's one that I use for Pyro to get rid of flame particles when my viewmodels are off
1
u/[deleted] Dec 06 '23
bind "F5" "incrementvar r_drawviewmodel 0 1 1"
1
u/memahalo Feb 01 '24
More universal option for having a button swap functionality every keypress. Its important that the each toggle binds to the other one (1->2 & 2->1)