This article's documentation is for anything that uses the Source engine. Click here for more information.

trigger_soundscape

From Valve Developer Community
Jump to: navigation, search
Underlinked - Logo.png
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


English (en)
... Icon-Important.png
class hierarchy
CTriggerSoundscape defined in soundscape.cpp
CBaseTrigger
CBaseToggle
CBaseEntity
Toolstrigger.gif

trigger_soundscape is a brush entity available in all Source Source games. It automatically triggers an env_soundscape_triggerable whenever a player is inside its volume and not triggering any other soundscape entities.

Note.pngNote:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourcePortalTeam Fortress 2Left 4 DeadLeft 4 Dead 2Portal 2Counter-Strike: Global Offensive.
  • On a new round, its properties including its position will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non preserved entities may have undesirable effects.

Keyvalues

Soundscape (soundscape) <targetname>
Targetname of the env_soundscape_triggerable that this brush triggers.
Warning.pngRisk of Confusion:Not to be confused with the actual soundscape that the env_soundscape_triggerable then plays.
Filter Name (filtername) <filter>
A filter entity to test potential activators against.
Icon-Bug.pngBug:Non-functional, will always trigger the soundscape and any outputs.
Confirm.pngConfirm: Which games does this apply to other than Source 2013 Multiplayer?

See also