trigger_hierarchy

From Source Entities
Jump to navigation Jump to search

Code classes:

Trigger.png

trigger_hierarchy is a brush entity present in all games since Asw.pngAlien Swarm. It fires outputs if any children (or children's children, etc) of the touching entity pass a filter. The touching entity has to be allowed by the flags, and children have to be allowed by the Child Filter (and they ignore flags). If the touching entity has no children, outputs will not fire. The touching entity is considered the activator of the outputs.

Keyvalues[edit | edit source]

Child Filter Name (childfiltername) <filterclass>
At least one child must pass this filter for outputs to fire. The touching entity does not have to pass this filter, but it does still need to pass the one specified in Filter Name.