filter_activator_attribute_int
		
		
		
		
		
		Jump to navigation
		Jump to search
		
 Note:Can be used with AddAttribute/RemoveAttribute inputs avaialble to all entities
Note:Can be used with AddAttribute/RemoveAttribute inputs avaialble to all entities
		
	

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.
 Source 2 games. It is a filter that checks the attributes of the activator.
 Note:Can be used with AddAttribute/RemoveAttribute inputs avaialble to all entities
Note:Can be used with AddAttribute/RemoveAttribute inputs avaialble to all entitiesKeyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 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
- !activator = activator of TestActivator input
 !caller = this entity
 One of these will fire whenTestActivatorinput is sent, depending on if the activator is allowed by the filter or not.
