Page 1 of 1

Help with key bindings

Posted: Mon Apr 20, 2009 2:26 pm
by Beliathon
I've been trying to bind my keys so that I can press a key and it will play the file associated with it... from reading the hldj help section, I thought it worked like this:
bind button "bind:myaudio;hldjsf"

for example, to bind a file called AHH, to my F5 key, I typed this:
bind F5 "bind:AHH;hldjsf"
... but it won't work.

What am I doing wrong?

Re: Help with key bindings

Posted: Mon Apr 20, 2009 4:32 pm
by Renegade
Your syntax is correct (although I'd recommend using >$), however the ":" key can be problematic for some Source games (this is likely the problem you are experiencing) and so "=" is now used instead for the newer versions. Try the Current Build and see the updated help text, or check out the tutorial here: http://www.hldj.org/forums/viewtopic.php?f=6&t=252