Ai changehintgroup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Next several hundred updates: Updating {{wrongtitle}} to {{DISPLAYTITLE}})
(IO wikicode updated)
Line 3: Line 3:


==Entity description==
==Entity description==
<!--[[Image:Ai_changehintgroup.jpg|thumb|right|200px|An ''ai_changehintgroup'' entity.]]-->
Changes or adds a specific [[Hint_node#Hint_Group|hint group]] to an [[NPC]] or hint node (see [[Hint nodes]]).
Changes or adds a specific [[Hint_node#Hint_Group|hint group]] to an [[NPC]] or hint node (see [[Hint nodes]]).


==Keyvalues==
==Keyvalues==
* {{KV Targetname}}
{{KV Targetname}}
*'''SearchType'''
{{KV|SearchType|choices|Search Type - How to search for the entities to change.}}
: <choices> Search Type - How to search for the entities to change.
:* 0 : Entity Name
:{| class=standard-table
:* 1 : Classname
! Literal Value || Description
:* 2 : Old Hint Group
|-
{{KV|Radius|float|Search Radius - Radius to search (0 for map extents).}}
| 0 || Entity Name
{{KV|Hintlimiting|bool|Hint Limit Nav - Limits NPC to using specified hint group for navigation requests, does not limit local navigation.}}
|-
{{KV|SearchName|target_name_or_class|Name to search for.}}
| 1 || Classname
{{KV|NewHintGroup|string|New Hint Group.}}
|-
| 2 || Old Hint Group
|}
*'''Radius'''
: <float> Search Radius - Radius to search. (0 for map extents.)
*'''hintlimiting'''
: {{boolean}} Hint Limit Nav - Limits NPC to using specified hint group for navigation requests, does not limit local navigation.
*'''SearchName'''
: <target_name_or_class> Name to search for
*'''[[Hint_node#Hint_Group|NewHintGroup]]'''
: <string> New Hint Group


<!--This entity doesn't have any flags.-->
==Inputs==
==Inputs==
* {{I Targetname}}
{{I Targetname}}
* '''Activate'''
{{IO|Activate|Change the hint group.}}
: Change the [[Hint_node#Hint_Group|hint group]]


==Outputs==
==Outputs==
* {{O Targetname}}
{{O Targetname}}


[[Category:Entities]]
[[Category:Entities]]
[[Category:AI]]
[[Category:AI]]

Revision as of 16:09, 3 February 2012

Template:Hl2 point

Entity description

Changes or adds a specific hint group to an NPC or hint node (see Hint nodes).

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

SearchType ([todo internal name (i)]) <choices>
Search Type - How to search for the entities to change.
  • 0 : Entity Name
  • 1 : Classname
  • 2 : Old Hint Group
Radius ([todo internal name (i)]) <float>
Search Radius - Radius to search (0 for map extents).
Hintlimiting ([todo internal name (i)]) <boolean>
Hint Limit Nav - Limits NPC to using specified hint group for navigation requests, does not limit local navigation.
SearchName ([todo internal name (i)]) <target_name_or_class>
Name to search for.
NewHintGroup ([todo internal name (i)]) <string>
New Hint Group.

Inputs

Activate
Change the hint group.

Outputs