Ai changehintgroup: Difference between revisions
Jump to navigation
Jump to search

m (Wrote some formated question marks that needs filling in.) |
m (→Inputs: Substituted IO templates) |
||
(38 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{CD|CAI_ChangeHintGroup|file1=triggers.cpp}} | |||
{{this is a|point entity|name=ai_changehintgroup}} | |||
[[ | It changes or adds a specific [[Hint_node#Hint_Group|hint group]] to an [[NPC]] or [[hint node]]. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV|Name to search for|intn=SearchName|target_name_or_class|A targetname, classname, or name of a hint group.}} | |||
* | {{KV|Search Type|intn=SearchType|choices|How to search for the entities to change. | ||
: | :*0: Entity Name | ||
:*1: Classname | |||
:*2: Old Hint Group}} | |||
{{KV|Search Radius|intn=Radius|float|Radius to search (0 searches entire map).}} | |||
{{KV|New Hint Group|intn=NewHintGroup|string|New hint group to add to the entities meeting search criteria.}} | |||
{{KV|Hint Limit Nav|intn=hintlimiting|bool|Limits NPC to using specified hint group for navigation requests, does not limit local navigation.}} | |||
==Inputs== | ==Inputs== | ||
{{I|Activate|Change the hint group.}} | |||
[[Category:AI]] | |||
Latest revision as of 08:46, 21 April 2025


![]() |
---|
CAI_ChangeHintGroup |
![]() |
ai_changehintgroup
is a point entity available in all Source games.
It changes or adds a specific hint group to an NPC or hint node.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Name to search for (SearchName) <target_name_or_class>
- A targetname, classname, or name of a hint group.
- Search Type (SearchType) <choices>
- How to search for the entities to change.
- 0: Entity Name
- 1: Classname
- 2: Old Hint Group
- Search Radius (Radius) <float>
- Radius to search (0 searches entire map).
- New Hint Group (NewHintGroup) <string>
- New hint group to add to the entities meeting search criteria.
- Hint Limit Nav (hintlimiting) <boolean>
- Limits NPC to using specified hint group for navigation requests, does not limit local navigation.
Inputs
- Activate
- Change the hint group.