Skip to main content

target_cdaudio

target_cdaudio icon
Point entity

A target_cdaudio plays a track of the Half-Life CD for every player in the game when a player comes within its radius, or when you trigger it. It can also stop the track, and it works once and then removes itself.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Track #health

Sets the track every player hears.

The 31 choices
  • Stop (-1) - It stops the track that is playing
  • Track 1 (1)
  • Track 2 (2)
  • Track 3 (3)
  • Track 4 (4)
  • Track 5 (5)
  • Track 6 (6)
  • Track 7 (7)
  • Track 8 (8)
  • Track 9 (9)
  • Track 10 (10)
  • Track 11 (11)
  • Track 12 (12)
  • Track 13 (13)
  • Track 14 (14)
  • Track 15 (15)
  • Track 16 (16)
  • Track 17 (17)
  • Track 18 (18)
  • Track 19 (19)
  • Track 20 (20)
  • Track 21 (21)
  • Track 22 (22)
  • Track 23 (23)
  • Track 24 (24)
  • Track 25 (25)
  • Track 26 (26)
  • Track 27 (27)
  • Track 28 (28)
  • Track 29 (29)
  • Track 30 (30)

If you leave this key empty, it is 0 and no track plays.

Default Stop (-1)
Player Radiusradius

With a value above 0, the track also plays when any player comes within this many units. With 0, only a trigger plays it.

See also​

Changes since 1.38​

  • Fixed trigger_cdaudio and target_cdaudio playing their music only for the player in the first server slot. The game sent the music only to that slot. This was a bug in SBO 1.38
  • Fixed only the player in the first server slot starting the track by coming within the Player Radius. Any player starts it now