Play CD track multiple times? Created 7 years ago2016-07-13 22:02:08 UTC by Dallas Dallas

Created 7 years ago2016-07-13 22:02:08 UTC by Dallas Dallas

Posted 7 years ago2016-07-13 22:02:08 UTC Post #330810
Is there any way to play a cd track over and over?

best I can tell, the target_cdaudio, and trigger_cdaudio entities can only be targeted/used 1 time to play or stop a track, and that triggering them again will do nothing.

Is this correct? Is there any way around this in vanilla HL?

I'd like to have a button that starts a CD track each time it is pressed.
Posted 7 years ago2016-07-14 02:29:31 UTC Post #330815
I figure you could fake it by having a number of target_cdaudio or trigger_cdaudio and a changetarget that cycles the button through a large number of them. I mean, what player is going to press a button over and over so many times as to run out, right?

That, or you could find a different way to put the track in the map.
Posted 7 years ago2016-07-14 14:17:22 UTC Post #330829
Both of those entities remove themselves after being triggered. Unless you can count on having Metamod support to clear the FL_KILLME flag and restore its targetname, you can't reuse them.
You must be logged in to post a response.