trigger_hierarchy
trigger_hierarchy
is a brush entity available in Portal 2.
Contents
Entity description
A trigger volume that can will check if any of trigger's children pass a secondary filter.
Keyvalues
- Child Filter Name
<filter>
- Filter to use to see if activator's children trigger me. See filter_activator_name for more explanation.
- Delay Before Reset
<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.)
Trigger:
OnEndTouch
- Fired when an entity stops touching this trigger. Only entities that passed this trigger's filters will cause this output to fire. (activator is the exiting entity)

OnEndTouchAll
- Fires when the last entity in the entity's area exits this trigger or when this entity is disabled. Only entities that passed this trigger's filters are considered. (activator is the last exiting entity)
OnTouching
(in all games since)
OnNotTouching
(in all games since)
- Fired when the
TouchTest
input is called.
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 whenever the trigger is activated. (activator is the activator)
Base:
OnUser1
toOnUser4
- These outputs each fire in response to the firing of the like-numbered
FireUser1
toFireUser4
Input; see User Inputs and Outputs. OnKilled
(only in)
- This output fires when the entity is killed and removed from the game.