Combination keys binding
#1
hey guys
is it possible to biond combination of keys for action to be carried out
e.g. i press Ctrl+1 and i suicide
Thanks given by:
#2
Try something like this:

alias ctrlpressed 0
bind LCTRL [jump; ctrlpressed = 1; onrelease [ctrlpressed = 0]]
bind RCTRL [jump; ctrlpressed = 1; onrelease [ctrlpressed = 0]]
bind 1 [ if $editing [ domodifier 5 ] [ primary; if $ctrlpressed [suicide] [] ] ]
Thanks given by:
#3
haha nice work :D
works perfectly :D
thank you so much :P
Thanks given by:
#4
This is a nice script to use when your are testing new mods
Thanks given by:
#5
Where shall I put this script?
Thanks given by:
#6
(17 Feb 11, 09:08PM)SiL3nT Wrote: Where shall I put this script?

put it into you autoexec.cfg file which is in "My documents" (windows) or if you have linux in home->.assaultcube_v1.1->config (press ctrl+h in home cuz .assaultcube_v1.1 folder is hidden)
Thanks given by: