This article's documentation is for anything that uses the Source engine. Click here for more information.

trigger_cdaudio

From Valve Developer Community
Revision as of 12:12, 15 March 2025 by SirYodaJedi (talk | contribs) (Created page with "{{tabs|trigger cdaudio|goldsrc = 1|source = 1|main = goldsrc}} {{CD|CTriggerCDAudio|file1=triggers.cpp}} {{obsolete}} {{this is a|point entity|name=trigger_cdaudio|engine=source}} A leftover from {{GoldSrc|2}}, it calls a nonexistent {{code|cd}} console command. Use a {{ent|trigger_once}}{{confirm}} to call a {{ent|ambient_generic}} instead. == Keyvalues == {{KV|Track|intn=health|integer choices}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
C++ Class hierarchy
CTriggerCDAudio
CBaseTrigger
CBaseToggle
CBaseEntity
C++ triggers.cpp
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

trigger_cdaudio is a point entity available in all Source Source games. A leftover from GoldSrc GoldSrc, it calls a nonexistent cd console command. Use a trigger_once[confirm] to call a ambient_generic instead.

Keyvalues

Track (health) <integer choices>