Point surroundtest: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Can you guys help document this entity?)
 
(Ok my English is not perfect, maybe someone should correct wrong spelling.)
Line 1: Line 1:
{{stub}}
{{stub}}
A point entity in [[Counter-Strike: Source]].
{{DISPLAYTITLE:point_surroundtest}}
{{css point|point_surroundtest}}
 
==Entity description==
This entity reads the audio settings in the properties menu. It identifies the number of selected speakers (2 Speakers, 4 Speakers, 5.1 Sound System) and can fire an output.
 
==Keyvalues==
{{KV Targetname}}
 
==Inputs==
{{I Targetname}}
{{IO|FireCorrectOutput|Fires an output to the correct number of speakers.|}}
 
==Outputs==
{{O Targetname}}
{{IO|On2Speakers|Fires an output if 2 Speakers are selected.|}}
{{IO|On4Speakers|Fires an output if 4 Speakers are selected.|}}
{{IO|On51Speakers|Fires an output if a 5.1 Sound System is selected.|}}

Revision as of 11:47, 22 February 2012

Stub

This article or section is a stub. You can help by expanding it.

Template:Css point

Entity description

This entity reads the audio settings in the properties menu. It identifies the number of selected speakers (2 Speakers, 4 Speakers, 5.1 Sound System) and can fire an output.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

FireCorrectOutput
Fires an output to the correct number of speakers.

Outputs

On2Speakers
Fires an output if 2 Speakers are selected.
On4Speakers
Fires an output if 4 Speakers are selected.
On51Speakers
Fires an output if a 5.1 Sound System is selected.