trigger_hierarchy
Jump to navigation
Jump to search
Code classes:
CTriggerHierarchy
CTriggerMultiple
CBaseTrigger
(triggers)CBaseToggle
CBaseEntity
(all ents)
trigger_hierarchy
is a brush entity present in all games since Alien 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.