env_speaker
Jump to navigation
Jump to search

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024


![]() |
---|
CSpeaker |
![]() |
env_speaker
is a point entity available in Half-Life 2 series and
Portal. It randomly emits announcements using the response rules system.



Flags
- Start Silent : [1]
- Play Everywhere : [2]
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Min Delay Between Announcements (delaymin) <float>
- Minimum time between announcements in seconds.
- Max Delay Between Announcements (delaymax) <float>
- Maximum time between announcements in seconds.
- Context rule script (rulescript) <string>
- The response rules script file to load.
Inputs
- TurnOn
- Start random announcements.
- TurnOff
- Stop random announcements.
- Toggle
- If on, turn off. If off, turn on.