31 May 14, 06:54AM
1Cap, do you think it's OK to use these? (pseudocode for simplicity):
It is just changing the actions linked to the scroll wheel from their default (scroll to the next weapon) to something else (scroll to the pistol/primary depending on what is currently being wielded). My line does it in a way that doesn't affect scrolling while editing or spectating.
[SELECT ALL] Code:
/bind MOUSE4 [toggle between pistol and primary weapon]
/bind MOUSE5 [toggle between pistol and primary weapon]