Anyone know how to bind a mouse button to a command
I can do all the keys just fine
What im after is binding
ent.kill to my middle mouse button but no idea how to set it in game.
For a key i do bind key ent.kill - but what is command to set it to middle mouse button.
Binding to a mouse button?
Discussion in 'Rust Discussion' started by tomhud, Jan 9, 2018.
-
Middle mouse would be:
bind FIRE_THIRD I believe -
-
yeah fire_third dont work
ive even tried mouse2 / mouse3 to no avail.
I give up -
The default keybinds should be something like this, so you'd either need mouse1 or mouse2 depending on how they determined which is which
Code:bind f1 consoletoggle bind backquote consoletoggle bind f7 bugreporter bind w +forward bind s +backward bind a +left bind d +right bind mouse0 +attack bind mouse1 +attack2 bind mouse2 +attack3 bind 1 +slot1 bind 2 +slot2 bind 3 +slot3 bind 4 +slot4 bind 5 +slot5 bind 6 +slot6 bind 7 +slot7 bind 8 +slot8 bind leftshift +sprint bind rightshift +sprint bind leftalt +altlook bind r +reload bind space +jump bind leftcontrol +duck bind e +use bind v +voice bind t chat.open bind returnchat.open bind mousewheelup +invnext bind mousewheeldown +invprev bind tab inventory.toggle
-
i do
bind mouse2 +ent.kill
Nothing works
i can only use ent.kill on a key not a button. -
It's "ent kill" and not "ent.kill"
-
and thats why i couldnt get it to work
working on middle mouse now thanks Mughisi