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
m (It's an entity that has to do with nodes, but not a node itself, so it's only an entity, I guess.)
m (→‎Inputs: Substituted IO templates)
 
(37 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{wrongtitle|title=ai_changehintgroup}}
{{LanguageBar}}
 
{{CD|CAI_ChangeHintGroup|file1=triggers.cpp}}
==Entity Description==
{{this is a|point entity|name=ai_changehintgroup}}
[[Image:ai_changehintgroup.jpg|thumb|right|200px|An ''ai_changehintgroup'' entity.]]
It changes or adds a specific [[Hint_node#Hint_Group|hint group]] to an [[NPC]] or [[hint node]].
{{Todo|Write a description, and add a picture similar to [[info_node]].}}


==Keyvalues==
==Keyvalues==
*'''SearchType'''
{{KV Targetname}}
: <?> Search Type - How to search for the entities to change.
{{KV|Name to search for|intn=SearchName|target_name_or_class|A targetname, classname, or name of a hint group.}}
*'''Radius'''
{{KV|Search Type|intn=SearchType|choices|How to search for the entities to change.
: <?> Search Radius - Radius to search. (0 for all of map.)
:*0: Entity Name
*'''hintlimiting'''
:*1: Classname
: <?> Hint Limit Nav - Limits NPC to using specified hint group for navigation requests, does not limit local navigation.
:*2: Old Hint Group}}
* {{kv targetname}}
{{KV|Search Radius|intn=Radius|float|Radius to search (0 searches entire map).}}
*'''SearchName'''
{{KV|New Hint Group|intn=NewHintGroup|string|New hint group to add to the entities meeting search criteria.}}
: <?> Name to search for
{{KV|Hint Limit Nav|intn=hintlimiting|bool|Limits NPC to using specified hint group for navigation requests, does not limit local navigation.}}
*'''NewHintGroup'''
: <?> New Hint Group


<!--This entity doesn't have any flags.-->
==Inputs==
==Inputs==
* {{i targetname}}
{{I|Activate|Change the hint group.}}
* '''Activate'''
: {{todo|Write description.}}
 
==Outputs==
* {{o targetname}}


==See Also==
* [[Hint nodes]]


[[Category:Entities]]
[[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.