Point entity finder

From Valve Developer Community
Revision as of 12:57, 10 June 2011 by Barracuda (talk | contribs) (Created page with '{{base point multi|point_entity_finder|game1=Portal 2|game2=Alien Swarm|game3=Left 4 Dead 2|game4=Left 4 Dead}} == Entity description == An entity that will find an entity and p…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Base point multi

Entity description

An entity that will find an entity and pass it along as the !Caller with the OutEntity output. Requires using !Caller as the parameter on the input.

Keyvalues

Filter Name ([todo internal name (i)]) <filter>
Filter to use to narrow set of findable entities. See filter_activator_name for more explanation.
Reference Entity ([todo internal name (i)]) <targetname>
Name of the entity to use when evaluating criteria. For example, when using Nearest, this is the entity that distance will be measured from. If left blank will use the point_entity_finder.
Search Method ([todo internal name (i)]) <choices>
  • 0 : Nearest
  • 1 : Farthest
  • 2 : Random
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

Inputs

FindEntity
Find an entity that meets the specified criteria. Will fire OutEntity if found and pass the entity as !Caller.


Outputs

OnFoundEntity
Fired when FindEntity is input and an entity was found. Passes the found entity as !Caller.