Ai changehintgroup: Difference between revisions
Jump to navigation
Jump to search
(removed {{DISPLAYTITLE}}, covered by the hl2 point template) |
(updates) |
||
Line 1: | Line 1: | ||
{{hl2 point|ai_changehintgroup}} | {{hl2 point|ai_changehintgroup}} It changes or adds a specific [[Hint_node#Hint_Group|hint group]] to an [[NPC]] or [[hint node]]. | ||
{{code class|CAI_ChangeHintGroup|triggers.cpp}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV | {{KV|Name to search for (SearchName)|target_name_or_class|A targetname, classname, or name of a hint group.}} | ||
{{KV|SearchType|choices| | {{KV|Search Type (SearchType)|choices|How to search for the entities to change. | ||
:* 0 : Entity Name | :*0: Entity Name | ||
:* 1 : Classname | :*1: Classname | ||
:* 2 : Old Hint Group | :*2: Old Hint Group}} | ||
{{KV|Radius|float| | {{KV|Search Radius (Radius)|float|Radius to search (0 searches entire map).}} | ||
{{KV| | {{KV|New Hint Group (NewHintGroup)|string|New hint group to add to the entities meeting search criteria.}} | ||
{{KV| | {{KV|Hint Limit Nav (hintlimiting)|bool|Limits NPC to using specified hint group for navigation requests, does not limit local navigation.}} | ||
{{KV BaseEntity|base=1}} | |||
==Inputs== | ==Inputs== | ||
{{IO|Activate|Change the hint group.}} | {{IO|Activate|Change the hint group.}} | ||
{{I BaseEntity|base=1}} | |||
==Outputs== | ==Outputs== | ||
{{O | {{O BaseEntity}} | ||
[[Category:AI]] | [[Category:AI]] |
Revision as of 15:29, 1 September 2018
Template:Hl2 point It changes or adds a specific hint group to an NPC or hint node.
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
- 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.