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

Target cdaudio (Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabs|target cdaudio|goldsrc = 1|source = 1|main = goldsrc}} {{CD|CTargetCDAudioRep|file1=controlentities.cpp}} {{obsolete|replacement={{ent|ambient_generic}}}} {{this is a|point entity|name=target_cdaudio|engine=source}} A leftover from {{GoldSrc|2}}, it calls a nonexistent {{code|cd}} console command. Use {{ent|ambient_generic}} instead. == Keyvalues == {{KV|Track|intn=track|integer choices}} == Inputs == {{IO|ChangeCDTrack|type=void}}")
 
m (→‎Inputs: Substituted IO templates)
Line 8: Line 8:


== Inputs ==
== Inputs ==
{{IO|ChangeCDTrack|type=void}}
{{I|ChangeCDTrack|type=void}}

Revision as of 11:19, 21 April 2025

C++ Class hierarchy
CTargetCDAudioRep
CPointEntity
CBaseEntity
C++ controlentities.cpp
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: ambient_generic.

target_cdaudio is a point entity available in all Source Source games. A leftover from GoldSrc GoldSrc, it calls a nonexistent cd console command. Use ambient_generic instead.

Keyvalues

Track (track) <integer choices>

Inputs

ChangeCDTrack