Filter health

From Valve Developer Community
Revision as of 15:06, 22 May 2010 by ThaiGrocer (talk | contribs) (Initial creation: filter_health)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Stub

This article or section is a stub. You can help by expanding it.

KeyValues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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.

See also

External links