This article's documentation is for anything that uses the Source engine. Click here for more information.

Ai changehintgroup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
m (→‎Inputs: Substituted IO templates)
 
(40 intermediate revisions by 16 users not shown)
Line 1: Line 1:
#REDIRECT [[info_hint]]
{{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==
{{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==
{{I|Activate|Change the hint group.}}
 
 
[[Category:AI]]

Latest revision as of 08:46, 21 April 2025

English (en)Translate (Translate)
C++ Class hierarchy
CAI_ChangeHintGroup
CBaseEntity
C++ triggers.cpp

ai_changehintgroup is a point entity available in all Source 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 or target).
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.