Point surroundtest: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:point_surroundtest}}
{{DISPLAYTITLE:point_surroundtest}}
{{css point|point_surroundtest}}
{{base point multi|point_surroundtest|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}}


==Entity description==
==Entity description==

Revision as of 16:06, 9 August 2013

Template:Base point multi

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.