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 (WisdomBot moved page Ai changehintgroup to Ai changehintgroup/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot under supervision.)
m (Multipage removal)
Line 1: Line 1:
{{langsp}}
{{LanguageBar}}
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of , please move {{this is a}} to the base page, as it is automatically translated. -->It changes or adds a specific [[Hint_node#Hint_Group|hint group]] to an [[NPC]] or [[hint node]].
{{this is a|point entity|name=ai_changehintgroup}}{{langsp}}
<!-- When this page is updated to {{langsp}} or instead of , please move {{this is a}} to the base page, as it is automatically translated. -->It changes or adds a specific [[Hint_node#Hint_Group|hint group]] to an [[NPC]] or [[hint node]].


{{code class|CAI_ChangeHintGroup|triggers.cpp}}
{{code class|CAI_ChangeHintGroup|triggers.cpp}}
Line 21: Line 22:
==Outputs==
==Outputs==
{{O BaseEntity|l4d=1}}
{{O BaseEntity|l4d=1}}
[[Category:AI]]

Revision as of 04:10, 12 July 2024

English (en)Translate (Translate)

ai_changehintgroup is a point entity available in all Source Source games.

English (en)Translate (Translate)

It changes or adds a specific hint group to an NPC or hint node.

C++ In code, it is represented by theCAI_ChangeHintGroupclass, defined in thetriggers.cppfile.

Keyvalues

Name to search for (SearchName) ([todo internal name (i)]) <target_name_or_class>
A targetname, classname, or name of a hint group.
Search Type (SearchType) ([todo internal name (i)]) <choices>
How to search for the entities to change.
  • 0: Entity Name
  • 1: Classname
  • 2: Old Hint Group
Search Radius (Radius) ([todo internal name (i)]) <float>
Radius to search (0 searches entire map).
New Hint Group (NewHintGroup) ([todo internal name (i)]) <string>
New hint group to add to the entities meeting search criteria.
Hint Limit Nav (hintlimiting) ([todo internal name (i)]) <boolean>
Limits NPC to using specified hint group for navigation requests, does not limit local navigation.


Inputs

Activate
Change the hint group.


Outputs