Filter
Jump to navigation
Jump to search
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_combineball_type - Filters according to the type of the combine ball.
- 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.