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

Env soundscape triggerable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env soundscape triggerable}}{{CD|CEnvSoundscapeTriggerable|file1=soundscape.cpp}}
{{LanguageBar}}
[[File:env_soundscape.png|left]]{{this is a|point entity|name=env_soundscape_triggerable}}  
{{Preserved entity}}
{{important|This entity is required when you want to use {{ent|trigger_soundscape}} otherwise works just like {{ent|env_soundscape}}.}}
{{CD|CEnvSoundscapeTriggerable|file1=soundscape.cpp}}
{{PreservedEnt|env_soundscape_triggerable}}
{{This is a|point entity|name=env_soundscape_triggerable|sprite=env_soundscape.png}} This entity is required when you want to use {{ent|trigger_soundscape}} otherwise works just like {{ent|env_soundscape}}.
__NOTOC__
==Keyvalues==
{{KV Targetname}}
{{KV|Radius|intn=radius|int|Defines the entity's sphere of influence. Players must also have [[LOS]] to the entity for it to trigger. -1 means infinite range.}}
{{KV|Soundscape|intn=soundscape|string|The name of the soundscape to play. Some examples are provided, but the actual list is not. The best way to browse soundscapes is from within the game with the <code>playsoundscape</code> console command.}}
{{KV|Sound Position 0|intn=position0|to=Sound Position 7|intn2=position7|targetname|Entities which define the location from which any positioned sounds play. Must be entities that the [[client]] knows about (e.g {{ent|info_target}} or anything visible).}}
{{KV EnableDisable}}


==Inputs==
{{IO|ToggleEnabled|Toggle the soundscape on/off.}}
{{IO|Enable}}
{{IO|Disable|Enable/Disable the soundscape}}


==Outputs==
{{IO|OnPlay|Fired when this soundscape becomes the active one.}}


==See also==
{{OtherKIO|env_soundscape|All}}
*[[Soundscapes]]
 
*[[Soundscape lists]]
== See also ==
*{{ent|trigger_soundscape}}
* [[Soundscapes]]
*{{ent|env_soundscape}}
* [[Soundscape lists]]
* {{ent|trigger_soundscape}}
* {{ent|env_soundscape}}


[[Category:Sound System]]
[[Category:Sound System]]

Latest revision as of 07:22, 4 May 2025

English (en)Translate (Translate)
Recycle-warning.png
This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Portal 2Counter-Strike: Global Offensive
If the game has round restart mechanics this entity may not behave as expected.
C++ Class hierarchy
CEnvSoundscapeTriggerable
CEnvSoundscape
CServerOnlyEntity
CBaseEntity
C++ soundscape.cpp
Env soundscape.png

env_soundscape_triggerable is a point entity available in all Source Source games. This entity is required when you want to use trigger_soundscape otherwise works just like env_soundscape.


Note.pngNote:All Keyvalues / Inputs / Outputs are same as env_soundscape.

See also