Trigger hierarchy: Difference between revisions
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.) |
m (Substituted IO templates) |
||
Line 9: | Line 9: | ||
== Inputs == | == Inputs == | ||
{{ | {{I|TouchTest|Tests if the trigger is being touched and fires an output based on whether the value is true or false.}} | ||
== Outputs == | == Outputs == | ||
{{ | {{O|OnTrigger|Fired whenever the trigger is activated.}} | ||
{{ | {{O|OnTouching|Fired when the TestTouch input is true (something is touching the trigger.)}} | ||
{{ | {{O|OnNotTouching|Fired when the TestTouch input is not true (nothing is touching the trigger.)}} | ||
{{O Trigger}} | {{O Trigger}} |
Latest revision as of 23:08, 20 April 2025


trigger_hierarchy
is a brush entity available in all Source games since
Alien Swarm. It is also available in
Black Mesa.
Entity description
A trigger volume that can will check if any of trigger's children pass a secondary filter.
Keyvalues
- Child Filter Name (childfiltername) <filter>
- Filter to use to see if activator's children trigger me. See filter_activator_name for more explanation.
- Delay Before Reset (wait) <integer>
- Amount of time, in seconds, after the trigger_multiple has triggered before it can be triggered again. If set to -1, it will never trigger again (in which case you should just use a trigger_once).
Inputs
- TouchTest
- Tests if the trigger is being touched and fires an output based on whether the value is true or false.
Outputs
- OnTrigger
- Fired whenever the trigger is activated.
- OnTouching
- Fired when the TestTouch input is true (something is touching the trigger.)
- OnNotTouching
- Fired when the TestTouch input is not true (nothing is touching the trigger.)
|