Trigger soundscape: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
mNo edit summary
Line 1: Line 1:
{{lang|{{PAGENAME}}}}
{{CD|CTriggerSoundscape|file1=soundscape.cpp}}
{{CD|CTriggerSoundscape|file1=soundscape.cpp}}
{{brush ent|trigger_soundscape}} It automatically triggers an {{ent|env_soundscape_triggerable}} whenever a player is inside its volume and not triggering any other soundscape entities.
{{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.
== Keyvalues ==
== Keyvalues ==
{{KV|Soundscape|intn=soundscape|targetname|The {{ent|env_soundscape_triggerable}} that this brush triggers. {{confusion|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. {{confusion|Not to be confused with the actual soundscape that the <tt>env_soundscape_triggerable</tt> then calls.}}}}

Revision as of 08:33, 24 January 2023

C++ Class hierarchy
CTriggerSoundscape
CBaseTrigger
CBaseToggle
CBaseEntity
C++ soundscape.cpp

Template:Entity 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