Filter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Filter uses)
(Provided more info, corrected example descriptions, removed stub.)
Line 1: Line 1:
{{stub}}
A filter is an entity that receives event triggering entities and filters them.


A filter is an entity that receives event triggering entities filters them. With [[filter_multi]] it is possible to use multiple filters.
Here are all the filter entities:
* [[filter_activator_class]] - Filters according to the class of the activator.
* [[filter_activator_name]] - Filters according to the targetname of the activator.
* [[filter_activator_team]] - Filters according to the team of the activator.
* [[filter_damage_type]] - Filters damage according to [[Damage Types|damage type]].
* [[filter_multi]] - Manages multiple filters.
 
For a more explanatory description of these filters, see [[Filter Applications]].


For a list of filters, see [[List_of_entities#Filter_Entities|list of entities]]


==Examples==
==Examples==
*[http://www.sdknuts.com/download/wiseDoorFilter.zip Using Filters] to Lock and Unlock a door by detection of the presence of Crates and Barrels.
*[http://www.sdknuts.com/tutorials/wiseAssault.asp Player Class] filtering.
*[http://www.sdknuts.com/tutorials/wiseCrush.asp Specific filtering] for trigger events.


*[http://www.sdknuts.com/tutorials/wiseNPC06.asp NPC Damage] protection with filters.
*http://www.sdknuts.com/tutorials/wiseAssault.asp - A name filter is used to make a sequence triggerable only by an NPC with a specific targetname.
*http://www.sdknuts.com/tutorials/wiseCrush.asp - A name filter is used to determine when two walls (with a specific targetname) has reached a certain position.
*http://www.sdknuts.com/tutorials/wiseNPC06.asp - A damage filter is used to shield a citizen NPC from damage from a helicopter.
*[http://www.sdknuts.com/download/wiseDoorFilter.zip Download] - An example map using filters to lock and unlock a door by detection of the presence of crates and barrels.


[[Category:Glossary]]
[[Category:Glossary]]

Revision as of 16:11, 12 October 2006

A filter is an entity that receives event triggering entities and filters them.

Here are all the filter entities:

For a more explanatory description of these filters, see Filter Applications.


Examples