Comp entity finder: Difference between revisions
Jump to navigation
Jump to search
Kittymatthew (talk | contribs) No edit summary |
Kittymatthew (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{point ent|comp_choreo_screenset|game=TeamSpen's Hammer Addons|internal=1}} It is also available in {{P2CE}}. It finds the closest entity of a given type, then outputs various values depending on the keyvalues set. | {{point ent|comp_choreo_screenset|game=TeamSpen's Hammer Addons|internal=1}} It is also available in {{P2CE}}[[Portal 2: Community Edition]]. It finds the closest entity of a given type, then outputs various values depending on the keyvalues set. | ||
==KeyValues== | ==KeyValues== | ||
Line 8: | Line 8: | ||
{{KV|Reference Position|target_destination|If set, look for entities close to this entity instead of the comp_entity_finder.}} | {{KV|Reference Position|target_destination|If set, look for entities close to this entity instead of the comp_entity_finder.}} | ||
{{KV|Search Blacklist|target_destination|If set, ignore entities matching this name.}} | {{KV|Search Blacklist|target_destination|If set, ignore entities matching this name.}} | ||
{{KV | {{KV|Teleport Target To Me|choices|Move the found entity to the location of this entity or that of the reference.}} | ||
:*0 : No | |||
:*1 : Yes |
Revision as of 12:56, 10 May 2021
Template:Point ent It is also available in Portal 2: Community Edition. 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 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.
- Teleport Target To Me ([todo internal name (i)]) <choices>
- Move the found entity to the location of this entity or that of the reference.
- 0 : No
- 1 : Yes