point_entity_finder
Jump to navigation
Jump to search
Code classes:
CPointEntityFinder
CBaseEntity
(all ents)
point_entity_finder
is a point entity present in all games since Left 4 Dead. It finds another entity using a set of rules.
Keyvalues[edit | edit source]
- Filter Name
(filtername)
<filterclass>
- A filter to use to narrow down which entities can be found.
- Reference Entity
(referencename)
<target_destination>
- When Search Method is Nearest or Farthest, an entity to measure distance from. If not specified, distance is measured from the
point_entity_finder
. - Search Method
(Method)
<choices>
- If the finder finds multiple valid entities, how it should decide which one to target.
- 0: Nearest
- 1: Farthest
- 2: Random
Inputs[edit | edit source]
- FindEntity
- Tells the finder to find an entity.
Outputs[edit | edit source]
- OnFoundEntity
- Fires when FindEntity is sent.
!caller
is the found entity.