Ai changehintgroup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (corrected params)
m (actually i'm stupid)
Line 13: Line 13:
{{KV|New Hint Group (NewHintGroup)|string|New hint group to add to the entities meeting search criteria.}}
{{KV|New Hint Group (NewHintGroup)|string|New hint group to add to the entities meeting search criteria.}}
{{KV|Hint Limit Nav (hintlimiting)|bool|Limits NPC to using specified hint group for navigation requests, does not limit local navigation.}}
{{KV|Hint Limit Nav (hintlimiting)|bool|Limits NPC to using specified hint group for navigation requests, does not limit local navigation.}}
{{KV BaseEntity|csgo=1|css=1}}
{{KV BaseEntity|css=1}}


==Inputs==
==Inputs==
{{IO|Activate|Change the hint group.}}
{{IO|Activate|Change the hint group.}}
{{I BaseEntity|portal2=1|prel4d=1}}
{{I BaseEntity|prel4d=1}}


==Outputs==
==Outputs==

Revision as of 08:47, 14 September 2018

English (en)Translate (Translate)

Template:Base point 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