Filter: Difference between revisions
Jump to navigation
Jump to search
(Filter uses) |
(Provided more info, corrected example descriptions, removed stub.) |
||
Line 1: | Line 1: | ||
A filter is an entity that receives event triggering entities and filters them. | |||
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]]. | |||
==Examples== | ==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]] | [[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:
- 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 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.
- Download - An example map using filters to lock and unlock a door by detection of the presence of crates and barrels.