Difference between revisions of "Filter enemy"

From Valve Developer Community
Jump to: navigation, search
 
Line 7: Line 7:
 
: <filterclass> Enemy name; See [[targetname]]
 
: <filterclass> Enemy name; See [[targetname]]
 
* '''filter_radius'''
 
* '''filter_radius'''
: <float> 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'''
 
* '''filter_outer_radius'''
: <float> Outer radius
+
: <float> Enemies outside this radius are considered invalid if Allow is set and valid if Disallow is set.
 
* '''filter_max_per_enemy'''
 
* '''filter_max_per_enemy'''
: <integer> Max squadmates 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==
 
==Inputs==
 
* {{i basefilter}}
 
* {{i basefilter}}

Revision as of 21:04, 7 November 2007

Template:Wrongtitle

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