Filter enemy

From Valve Developer Community
Revision as of 11:04, 12 April 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point ep1

Entity Description

Filters enemies based on a set of criteria

Keyvalues

<filterclass> Enemy name; See targetname
  • filter_radius
<float> Radius by which to test the proximity of the enemy. If the filter mode is Allow, only entities whose distance is equal to or closer than the radius will pass the filter. If the filter mode is Disallow, all entities outside the radius will pass the filter.
  • filter_outer_radius
<float> Enemies outside this radius are considered invalid if Allow is set and valid if Disallow is set.
  • filter_max_per_enemy
<integer> Maximum number of squadmates allowed to target any given entity.

Flags

  • 1 : Do not lose target if already acquired but filter failed.

Inputs

Outputs