Filter enemy

From Valve Developer Community
Revision as of 21:04, 7 November 2007 by Ts2do (talk | contribs)
Jump to: navigation, search


Entity Description

Filters enemies based on a set of criteria


<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.


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