From 3de633b89a6dedd745f517e93657a3a580b092ec Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sat, 7 Dec 2019 23:54:53 -0600 Subject: [PATCH] Updated Filters (markdown) --- Filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Filters.md b/Filters.md index 835ada8..2146fff 100644 --- a/Filters.md +++ b/Filters.md @@ -5,13 +5,13 @@

-A filter is a type of entity that holds a set of rules that other entities can use to determine behaviors, like a `trigger_once` using a `filter_activator_name` that only allows an entity with the name "cow" to pass it. [Click here for more information on filters in Source.](https://developer.valvesoftware.com/wiki/Category:Filters) +A filter is a type of entity that can test another entity against a certain condition or set of conditions, like a `trigger_once` using a `filter_activator_name` that only allows an entity with the name "cow" to pass it. [Click here for more information on filters in Source.](https://developer.valvesoftware.com/wiki/Category:Filters) In Mapbase, all filters have been given the following new I/O/KV: **Inputs** * **TestEntity** `` - Tests the filter against the specified entity and fires OnPass or OnFail based on the result. *(TestActivator only uses the activator)* -* **SetField** `` - Sets this filter's primary testing criteria. (e.g. the name to test against the activator) +* **SetField** `` - Sets this filter's primary testing criteria (e.g. the name to test against the activator). **KeyValues** * **Pass caller when tested** `` - When tested with TestActivator or TestEntity, this causes the OnPass and OnFail outputs to use the entity that called the test as the caller instead of the filter itself.