info_hint
Jump to navigation
Jump to search
Class hierarchy |
---|
CNodeEnt |
ai_initutils.cpp |
info_hint
is a point entity available in all Source games.
It is the only NPC AI node that is not connected to the NPC navigation nodegraph. Thus NPCs will not move to info_hints, making them unsuitable for navigation hint_types such as "Crouch Cover Low"[Clarify]. Non-navigation hint_types, like "World: Visually Interesting", or "World: Window", are more suitable.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Pitch Yaw Roll (Y Z X) (angles) <angle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
|
- Hint Activity (hintactivity) <string>
- Activity associated with this hint node. Various parts of the NPC AI play this activity at times. i.e. Actbusy nodes will play this activity when an NPC acts busy on the node.
- Node FOV (nodeFOV) <integer choices>
- Imagine this node requires that an NPC be in the node's field of view in order to use this hint.
- 45 : 45 Degrees
- 90 : 90 Degrees
- 180 : 180 Degrees
- 360 : 360 Degrees
- Start Hint Disabled (StartHintDisabled) <boolean>
- Spawn the hint disabled.
- Hint Group (Group) <string>
- If specified, gives the hint a specific group name. Useful for hint nodes that need to be logically grouped together. NPCs may also refuse to use hint nodes that don't match their hint group.
- Target node (TargetNode) <node_dest>
- The node ID of an associated target node, if any.
- Ignore Facing (IgnoreFacing) <integer choices>
- Don't pay attention to the facing of the node. May not apply to a given hint type.
- 0 : No
- 1 : Yes
- 2 : Default
- Radius (radius) <integer>
- Allows hints to only be usable in a pre-defined radius(in all games since )(also in )
- Weight (hintweight) <integer>
- Allows NPCs to prefer certain hints over others (only in )
- Minimum State (MinimumState) <integer choices>
- Require an NPC have a minimum state to use the hint.
- 1 : Idle
- 2 : Alert
- 3 : Combat
- Maximum State (MaximumState) <integer choices>
- Require an NPC have a maximum state to use the hint.
- 1 : Idle
- 2 : Alert
- 3 : Combat
- Node ID (nodeid) <integer>
- Read-only internal Hammer value.
Flags
Allow jump up : [65536]
Inputs
HintNode:
- EnableHint
- Enable hint.
- DisableHint
- Disable hint.