Trigger cdaudio (Source): Difference between revisions
Jump to navigation
Jump to search
Note:Other
SirYodaJedi (talk | contribs) (Yes, trigger_once is correct) |
SirYodaJedi (talk | contribs) No edit summary |
||
| Line 10: | Line 10: | ||
== Inputs == | == Inputs == | ||
{{I|Use|Would play the specified CD track from {{code|health}}.}} | {{I|Use|Would play the specified CD track from {{code|health}}.}} | ||
== See also == | |||
* {{ent|target_cdaudio|engine=source}} | |||
Revision as of 11:24, 21 April 2025
| CTriggerCDAudio |
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 games. A leftover from
GoldSrc, it calls a nonexistent cd console command and as such is effectively nonfunctional for its intended purpose (but still works as a generic trigger). Use a trigger_once to call a ambient_generic instead.
Keyvalues / Inputs / Outputs are same as trigger.Keyvalues
- CD track to play (health) <integer choices>
- Range -1 to 30. Setting to -1 would stop the current CD track.
Inputs
- Use
- Would play the specified CD track from
health.