This article's documentation is for Source 2. Click here for more information.

Trigger multiple (Source 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 5: Line 5:
{{KV Targetname}}
{{KV Targetname}}
{{KV|Delay Before Reset|intn=wait|float|Delay in seconds before ''OnTrigger'' can fire again, 0 defaults to 0.2. If set to -1, it will kill itself when triggered (as trigger_once), which means outputs like OnEntireTeamStartTouch can never fire.}}
{{KV|Delay Before Reset|intn=wait|float|Delay in seconds before ''OnTrigger'' can fire again, 0 defaults to 0.2. If set to -1, it will kill itself when triggered (as trigger_once), which means outputs like OnEntireTeamStartTouch can never fire.}}
{{KV Source 2 BaseTrigger|startcollapsed=0}}


==Flags==
==Flags==
{{Fl S2 BaseTrigger|startcollapsed=0}}
{{Fl S2 BaseTrigger|startcollapsed=0}}

Latest revision as of 07:06, 16 February 2025

edit

trigger_multiple is a mesh entity available in all Source 2 Source 2 games. It is a volume that fires outputs when a specified type of entity enters or leaves it.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Delay Before Reset (wait) <float>
Delay in seconds before OnTrigger can fire again, 0 defaults to 0.2. If set to -1, it will kill itself when triggered (as trigger_once), which means outputs like OnEntireTeamStartTouch can never fire.
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 : [1]
Only clients in vehicles : [32]
Only clients *not* in vehicles : [512]
NPCs : [2]
Only player ally NPCs : [16]
Only NPCs in vehicles (respects player ally flag) : [2048]
Projectiles : [4]
Physics Objects (not including physics debris) : [8]
Physics debris (include also physics debris) : [1024]
Pushables (trigger_push used to assume 100Kg) and multiple component physobjs (car, blob...) : [4096]