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

Trigger soundscape: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-toolstrigger)
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{lang|title=trigger_soundscape}}
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{CD|CTriggerSoundscape|file1=soundscape.cpp}}
{{CD|CTriggerSoundscape|file1=soundscape.cpp}}
[[File:Toolstrigger.gif|left]]
[[File:Toolstrigger.gif|left]]
{{entity|trigger_soundscape|type=e2}} It automatically triggers an {{ent|env_soundscape_triggerable}} whenever a player is inside its volume and not triggering any other soundscape entities.
{{this is a|e2|name=trigger_soundscape}} It automatically triggers an {{ent|env_soundscape_triggerable}} whenever a player is inside its volume and not triggering any other soundscape entities.
== Keyvalues ==
== Keyvalues ==
{{KV|Soundscape|intn=soundscape|targetname|The {{ent|env_soundscape_triggerable}} that this brush triggers. {{ModernConfusion|Not to be confused with the actual soundscape that the <tt>env_soundscape_triggerable</tt> then calls.}}}}
{{KV|Soundscape|intn=soundscape|targetname|The {{ent|env_soundscape_triggerable}} that this brush triggers. {{ModernConfusion|Not to be confused with the actual soundscape that the <tt>env_soundscape_triggerable</tt> then calls.}}}}

Revision as of 13:12, 4 January 2024

English (en)Translate (Translate)
C++ Class hierarchy
CTriggerSoundscape
CBaseTrigger
CBaseToggle
CBaseEntity
C++ soundscape.cpp
Toolstrigger.gif

trigger_soundscape is an e2 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.

Keyvalues

Soundscape (soundscape) <targetname>
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 calls.

See Also