Single key to play, stop on release?

Help with using HLDJ
Post Reply
Woraug
Game DJ
Posts: 2
Joined: Fri Dec 03, 2010 2:46 pm

Single key to play, stop on release?

Post by Woraug »

I used to have a script, all it did was when I pressed a key it activated my mic and played my sound while I held the button, and stopped when I released the button. I forgot to backup this script when I formatted the drive I had HLDJ on, and can't find it anymore. Does anyone have it, or can make one up for me?

Sorry if this has been asked before, but I didn't find anything useful in the search.
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: Single key to play, stop on release?

Post by Renegade »

you mean like "push-to-transmit" type of behaviour?

Code: Select all

alias +myhldjptt hldj_playaudio_on
alias -myhldjptt hldj_playaudio_off
bind <KEY> +myhldjptt
Woraug
Game DJ
Posts: 2
Joined: Fri Dec 03, 2010 2:46 pm

Re: Single key to play, stop on release?

Post by Woraug »

Thanks man! Exactly what I was wanting.
Post Reply