Posts: 152
Threads: 20
Joined: Jul 2010
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
Posts: 1,331
Threads: 44
Joined: Jun 2010
17 Feb 11, 11:03AM
(This post was last modified: 17 Feb 11, 11:03AM by Bukz.)
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] [] ] ]
Posts: 152
Threads: 20
Joined: Jul 2010
haha nice work :D
works perfectly :D
thank you so much :P
Posts: 239
Threads: 19
Joined: Jun 2010
This is a nice script to use when your are testing new mods
Posts: 229
Threads: 10
Joined: Jun 2010
Where shall I put this script?
Posts: 152
Threads: 20
Joined: Jul 2010
17 Feb 11, 09:53PM
(This post was last modified: 17 Feb 11, 09:54PM by Milandrag.)
(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)