point_surroundtest
Jump to navigation
Jump to search
Code classes:
CSurroundTest
CPointEntity
CBaseEntity
(all ents)
point_surroundtest
is a point entity present in both Counter-Strike games and both Left 4 Dead games. It detects what audio setup the player is using. Used on the map test_speakers
.
Inputs[edit | edit source]
- FireCorrectOutput
- Tells the entity to fire one of its outputs. If it detects a setup it doesn't recognize, no output will fire.
Outputs[edit | edit source]
- On2Speakers
- Fires if player is using 2 speakers.
- On4Speakers
- Fires if player is using 4 speakers.
- On51Speakers
- Fires if player is using 5.1 speakers.