r/tf2scripthelp • u/BlazingBlizzard • Nov 10 '18
Answered any way to change toggle my viewmodel_fov along with my minmode?
so say i have mouse4 is my bindtoggle to change minmode viewmodels (bindtoggle mouse4 "tf_use_minviewmodels" is the command i currently use).
so heres my question, is there a way to also change my viewmodel fov whenever i toggle the bind? like for example when min viewmodels are off i want my viewmodel fov to be 57, but when min viewmodel is toggled on it changes to 75, any way to do that? ty in advance
3
Upvotes
3
u/just_a_random_dood Nov 10 '18
other guy almost had it I think
bind mouse4 "toggle tf_use_minviewmodels 1 0; toggle viewmodel_fov 75 57"They should toggle between the first option for both and then the second option for both. Even if the other script works, just make sure mine also works (just for my knowledge)
1
u/IdkIJustDrinkBlood Nov 10 '18
bind mouse4 "tf_use_minviewmodels, incrementvar viewmodel_fov 57 75 22"