I use the right mouse button to move forwards.
Is there any way to make it also USE, when I double click?
Regards.
Double click USE (right mouse button)?
-
-
- Posts: 17933
- Joined: Fri Jul 06, 2007 3:22 pm
Re: Double click USE (right mouse button)?
Yes, with doublebind.
That's even one of the examples on the wiki:
That's even one of the examples on the wiki:
Button commands are commands that represent buttons and come in pairs. Each "button" has a command prefixed by a + and another corresponding command prefixed by a -. The + version of the command simulates pushing the button (Or "turning on" the command), while the - version of the command simulates releasing the button ("Turning off" the command).
When you bind a command that begins with + to a key, releasing the key will automatically execute the - version of the same command. Note that this works for aliases as well. This provides a useful way to bind multiple actions to a single key. Suppose you want the normal Doom behavior of moving forward and using when you double click the right mouse button. If you use the commands:
bind mouse2 +forward
doublebind mouse2 +use
-
- Posts: 2
- Joined: Fri Sep 06, 2024 3:00 pm
Re: Double click USE (right mouse button)?
Thank you!