filter_multi

From Source Entities
Jump to navigation Jump to search

Code classes:

Filter multiple.png

filter_multi is a point entity present in all Source games. It's a filter that tests the activator against multiple other filters. This allows you to build more complex filters, such as "Allow anyone on Team 1 who is also class engineer", or "Allow everything except classes npc_zombie and npc_headcrab". filter_multi can even be used with other filter_multis.

Keyvalues[edit | edit source]

Logic Type (FilterType) <choices>
Boolean logic applied when testing the filters. See here for information on more complex checking patterns.
  • 0: AND (all filters must pass for this filter to pass)
  • 1: OR (any filter passing is enough for this filter to pass)
Filter 1 (Filter01) to Filter 5 (Filter05) <filterclass>
Filter to test.
Filter 6 (Filter06) to Filter 10 (Filter10) <filterclass> (available in all games since L4d.png)
Filter to test.
Negate Outcome (Negated) <boolean>
Whether to negate the result of the sub-filters, after combining them using the Logic Type chosen. Negating the outcome using the AND logic type means that any sub-filter must fail for this filter to pass. Negating the outcome using the OR logic type means that all sub-filters must fail for this filter to pass.