trigger_hierarchy
Jump to navigation
Jump to search
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.)
Bug:Spamming crouch jumps in a trigger can randomly fire OnStartTouch . Confirm:Is it a Multiplayer issue only? [todo tested in?]
Warning:This includes entities which are deleted while inside the trigger. In this case !activator will be invalid.
Warning:
OnEndTouch can fire before OnStartTouch under certain circumstances where both are fired on the same tick and each have the same delay. Fix:Add a slight delay to OnEndTouch .Bug:Spamming crouch jump in a trigger can randomly fire OnEndTouch . Confirm:Is it a Multiplayer issue only? [todo tested in?]
|