filter_activator_attribute_int
Jump to navigation
Jump to search
filter_activator_attribute_int
is a point entity available in all Source 2 games. It is a filter that checks the attributes of the activator.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Attribute Name (filterattribute) <string>
- The attribute to filter by. If the filter mode is Allow, only entities who have the attribute with a value > 0 will pass the filter. If the filter mode is Disallow, all entities EXCEPT those who have the attribute with a value > 0 will pass the filter.
BaseFilter:
- Filter mode (Negated) <boolean>
- Inverts the filter, making the specified criteria fail and all others pass.
Inputs
- TestActivator
- Tests the entity that called the input (the !activator) against the filter, and fires either the OnPass or OnFail output.
Outputs
BaseFilter:
- OnPass
- OnFail
- One of these will fire when
TestActivator
input is sent, depending on if the activator is allowed by the filter or not.