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

target_cdaudio

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CTargetCDAudioRep
CPointEntity
CBaseEntity
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, and as such is nonfunctional. Use ambient_generic instead.

Keyvalues

CD track to play (track) <integer choices>
Range -1 to 30. Setting to -1 would stop the current CD track.

Inputs

ChangeCDTrack
Would play the specified CD track from track when fired.

See also