Filter

From Valve Developer Community

(Redirected from Filters)
Table of contents

For Mappers

Filter entities can allow or disallow I/O or internal entity events with the following criteria:

filter_activator_class
Classname of the activator.
filter_activator_name
Targetname of the activator.
filter_activator_team
Team of the activator.
filter_combineball_type
The type of prop_combine_ball.
filter_damage_type
Filters damage events by damage type.

Filters can be mixed and matched with filter_multi.

Examples

  • Download (http://type3studios.com/downloads/tutorials/SdkNutsTutorials/wiseDoorFilter.zip) - An example map using filters to lock and unlock a door by detection of the presence of crates and barrels.

See also

For Programmers

A programmer does not need to use the filter entities above, since he or she already has direct access to all of the requisite data. Source's C++ filter classes are instead used to decide where data should be sent.