Comp entity finder

From Valve Developer Community
Revision as of 12:50, 10 May 2021 by Kittymatthew (talk | contribs) (Created page with "{{point ent|comp_choreo_screenset|game=TeamSpen's Hammer Addons|internal=1}} It is a forked version of the entity from TeamSpen's Hammer Addons. It finds the closest entit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Point ent It is a forked version of the entity from TeamSpen's Hammer Addons. It finds the closest entity of a given type, then outputs various values depending on the keyvalues set.

KeyValues

Target Classname ([todo internal name (i)]) <string>
Classnames of the entity to find. Multiple classnames can be specified seperated by spaces.
Search Radius ([todo internal name (i)]) <float>
Radius to search inside, or 0 for infinite.
Search Field Of View ([todo internal name (i)]) <float>
The found entity must be within this many degrees of the direction of the finder.
Search Direction ([todo internal name (i)]) <angle>
If Search FOV is used, the direction to compare to.
Reference Position ([todo internal name (i)]) <targetname>
If set, look for entities close to this entity instead of the comp_entity_finder.
Search Blacklist ([todo internal name (i)]) <targetname>
If set, ignore entities matching this name.

{{KV