Filter multi

From Valve Developer Community
Revision as of 06:38, 19 September 2005 by Ts2do (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

From here A filter that combines multiple filters. For instance, you could have a trigger_multiple that's triggerable by either a prop named Bob OR a prop named Jimmy (two filter_activator_name entities, with the filter_multi's Logic Type set to OR); you could also have a door that's only openable by a monster that is both a headcrab AND named Bob (a filter_activator_name and a filter_activator_class, with the filter_multi's Logic Type set to AND).

Negate Outcome means that if this filter passes, it should report that it fails. For instance, if you want to make a trigger_multiple that can be used by all entities except the one named Bob, you would set up the filter_multi such that Bob passes the filter, then negate the outcome so that Bob does not pass. Every other entity would fail the filter, but because the outcome is negated, those entities would actually pass it.

Logic Type is simple: AND means all filters must pass for the filter_multi to pass, and OR means any filter can pass for the filter_multi to pass.

Keyvalues

<boolean>
  • filtertype
Template:Choices FINISH THIS
  • Filter01-05
<filterclass> You can specify up to five filters with this entity. The activator will be tested against all of them.

Inputs

See Also