Trigger secret: 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.)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{wrongtitle|title=trigger_secret}}  
{{subpage|[[List of SE1 entities]]}}
[[File: se1_stats_secrets_discovered.jpg | thumb | right | 400px | This trigger entity helps count the amount of secrets found in the official maps.]]


It is a trigger volume that causes ambient/ritual_secret2.mp3 to be played and presents the player with a hud hint. A trigger uses outputs to activate an event in another entity. It is essentially a modified [[trigger_once]]
{{this is a|brush entity|name=trigger_secret|game=SiN Episodes}} It is a [[trigger]] volume that externally functions identical to a [[trigger_once]] but marks a secret area so the game can track them, which usually causes ''ambient/ritual_secret2.mp3'' to be played and presents the player with a hud hint, with the tutorial for how to set it up can be found on the [[Sin_Episodes_Secret_Area | secret area tutorial]] page and a list of all those available in the game by default in the [[List_of_SE1_Secret_Areas | list of secret areas]] section.


== See also ==
__TOC__
 
{{clr}}
* [[SiN_Episodes_Level_Creation]]
* [[trigger_multiple]]
* [[Inputs and Outputs]]


== Keyvalues ==
== Keyvalues ==
Line 21: Line 19:
{{O TriggerOnce}}
{{O TriggerOnce}}


 
[[Category: Sin Episodes]]
== Notes ==
 
As a note: Original page was modified from [[trigger_once]], all credit should be given to that author. --ViralHatred 17:43, 29 April 2010 (UTC)

Latest revision as of 17:52, 17 May 2024

This trigger entity helps count the amount of secrets found in the official maps.

trigger_secret is a brush entity available in SiN Episodes SiN Episodes. It is a trigger volume that externally functions identical to a trigger_once but marks a secret area so the game can track them, which usually causes ambient/ritual_secret2.mp3 to be played and presents the player with a hud hint, with the tutorial for how to set it up can be found on the secret area tutorial page and a list of all those available in the game by default in the list of secret areas section.

Keyvalues

BaseTrigger
Filter Name (filtername) <filter>
A filter entity to test potential activators against.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Flags

BaseTrigger
Everything (not including physics debris) : [64]
Clients (Survivors, Special Infected, Tanks Left 4 Dead seriesLeft 4 Dead series) : [1]
Only clients in vehicles : [32]
Only clients *not* in vehicles : [512]
Disallow Bots (removed since Left 4 Dead) : [4096]
NPCs (Common Infected, Witches Left 4 Dead seriesLeft 4 Dead series) : [2]
Only player ally NPCs : [16]
Only NPCs in vehicles (respects player ally flag) : [2048]
Physics Objects (not including physics debris) : [8]
Physics debris (include also physics debris) : [1024]
Pushables (Passes entities with classname func_pushable) : [4] Obsolete
Deprecated.
Equivalent to using Everything + filter_activator_class that filters func_pushable.

Inputs

BaseTrigger:
Toggle
Toggles this trigger between enabled and disabled states.
Enable
Enable trigger
Disable
Disable trigger

Outputs

TriggerOnce:

OnStartTouch
Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire. (!activator is the "toucher.")
OnTrigger
Fired repeatedly with a delay while an entity is within this trigger's volume. Delay is defined by Delay Before Reset key.