Filter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added the new filter_combineball_type.)
(moved to Category:Filters)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
A filter is an entity that receives event triggering entities and filters them.
#redirect [[:Category: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_combineball_type]] - Filters according to the type of the combine ball.
* [[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]].
 
 
==Examples==
 
*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]]

Latest revision as of 10:29, 30 July 2011

Redirect to: