Filter health
Jump to navigation
Jump to search
Template:L4d2 point It is a damage filter that filters based on if the entity causing the damage has adrenaline active or not.
KeyValues
- Name (targetname) <string>[ Edit ]
- 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
- Negated:
- Filter mode
<choices>
- If set to Allow, only entities who match the criteria will pass the filter. If set to Disallow, only entities who do NOT match the criteria will pass the filter.
- adrenalinepresence:
- Adrenaline prescence
<choices>
- Allows this state of adrenaline on the attacker to pass the filter.
- healthmin:
- Min Health
<integer>
- The lower bound on player health that will pass this filter (inclusive).
- healthmax:
- Max Health
<integer>
- The upper bound on player health that will pass this filter (inclusive).
Inputs
FilterHealth:
- TestActivator
- Test the activator against the filter and fires OnPass or OnFail output.
Outputs
FilterHealth:
- OnPass
- Fired in response to TestActivator input if the activator passes the filter.
- OnFail
- Fired in response to TestActivator input if the activator fails to pass the filter.