Trigger cdaudio (GoldSrc)

From Valve Developer Community
Revision as of 16:44, 24 October 2013 by MissingNoGuy55 (talk | contribs) (Created page with "{{HL1}} '''trigger_cdaudio''' is a brush entity available in Half-Life. ==Entity description== Plays a specified track either on the CD or in the media folder when the play...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Half-Life trigger_cdaudio is a brush entity available in Half-Life.

Entity description

Plays a specified track either on the CD or in the media folder when the player walks through this entity.

Note.pngNote:Any MP3 files in the media folder must be named "Half-LifeXX", with XX being the track number.

Keyvalues

Name ([todo internal name (i)]) <string>
The name of the entity.
Track ([todo internal name (i)]) <integer>
The name of the track to play via the media folder.

Flags

  • 1 : Wait Till Seen
  • 2 : Gag (No IDLE sounds until angry)
  • 4 : MonsterClip
  • 8 : No wreckage
  • 16 : Prisoner
  • 64 : Start inactive
  • 128 : Wait for script
  • 256 : Pre-disaster
  • 512 : Fade corpse
  • 2048 : Not in Deathmatch (some entities don't have this set in their FGD, but it works for all entities if set).