Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Info node hint

From HalfLife 2 Knowledge Base

Jump to: navigation, search

Contents

info_node_hint

Source(core) Point Entity

List of activities (for acting busy)


description

A navigation node for ground moving NPCs that includes some context information for NPCs that are interested in it. The hint might indicate a window that could be looked out of, or an item of interest that could be commented on. Many hint nodes are NPC-specific, so it's helpful to use naming conventions like 'Crow


properties

  • Name targetname(target_source)
    The name that other entities refer to this entity by.
  • Pitch Yaw Roll (Y Z X) angles(angle) - default: 0 0 0
    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 hinttype(choices)
    • 0 - None
    • 2 - World
    • 12 - World
    • 13 - World
    • 14 - World
    • 15 - World
    • 100 - Crouch Cover Medium
    • 101 - Crouch Cover Low
    • 102 - Waste Scanner Spawn
    • 103 - Entrance / Exit Pinch
    • 105 - Enemy Disadvantage Point
    • 106 - Health Kit
    • 204 - Urban
    • 400 - Antlion
    • 401 - Antlion
    • 450 - Headcrab
    • 500 - Roller
    • 501 - Roller
    • 700 - Crow
    • 701 - Crow
    • 800 - TF2 Bug
    • 900 - Follower
    • 901 - Override jump permission
    • 902 - Player squad transition point
    • 903 - NPC exit point
    • 904 - Strider node
    • 1000 - HL1 World
    • 1001 - HL1 World
    • 1002 - HL1 World
    • 1003 - HL1 World
    • 1100 - CS Hostage
  • 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(choices) - default: Imagine this node requires that an NPC be in the node's field of view in order to use this hint.
    180
    • 180 - 180 Degrees
    • 360 - 360 Degrees
  • Start Hint Disabled StartHintDisabled(choices)
    • 0 - No
    • 1 - Yes
  • 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) - default: -1
    The node ID of an associated target node, if any.
  • Ignore Facing IgnoreFacing(choices) - default: Don't pay attention to the facing of the node. May not apply to a given hint type.
    2
    • 0 - No
    • 1 - Yes
    • 2 - Default
  • Minimum State MinimumState(choices) - default: Require an NPC have a minimum state to use the hint.
    1
    • 1 - Idle
    • 2 - Alert
    • 3 - Combat
  • Maximum State MaximumState(choices) - default: Require an NPC have a maximum state to use the hint.
    3
    • 1 - Idle
    • 2 - Alert
    • 3 - Combat


spawn flags

none.


inputs

  • Kill(void)
    Removes this entity from the world.
  • KillHierarchy(void)
    Removes this entity and all its children from the world.
  • AddOutput(string)
    Adds an entity I/O connection to this entity. Format
  • FireUser1(void)
    Causes this entity's OnUser1 output to be fired.
  • FireUser2(void)
    Causes this entity's OnUser2 output to be fired.
  • FireUser3(void)
    Causes this entity's OnUser3 output to be fired.
  • FireUser4(void)
    Causes this entity's OnUser4 output to be fired.
  • EnableHint(void)
    Enable hint.
  • DisableHint(void)
    Disable hint.


outputs

  • OnUser1(void)
    Fired in response to FireUser1 input.
  • OnUser2(void)
    Fired in response to FireUser2 input.
  • OnUser3(void)
    Fired in response to FireUser3 input.
  • OnUser4(void)
    Fired in response to FireUser4 input.
  • OnNPCStartedUsing(string)
    Fired when an NPC has reached this node and started using it. Passes along the NPC.
  • OnNPCStoppedUsing(string)
    Fired when an NPC has stopped using this node. Passes along the NPC.

related tutorials

Submit your tutorial for info_node_hint

Personal tools