Info node hint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Wrote the entire entity from scratch. Enjoy.)
m (Some more question marks to fill in.)
Line 9: Line 9:


*'''nodeFOV'''
*'''nodeFOV'''
: Node FOV - Imagine this node requires that an NPC be in the node's field of view in order to use this hint.
: <?> Node FOV - Imagine this node requires that an NPC be in the node's field of view in order to use this hint.


*'''TargetNode'''
*'''TargetNode'''
: Target node - The node ID of an associated target node, if any.
: <?> Target node - The node ID of an associated target node, if any.


*'''IgnoreFacing'''
*'''IgnoreFacing'''
: Ignore Facing - Don't pay attention to the facing of the node. May not apply to a given hint type.
: <?> Ignore Facing - Don't pay attention to the facing of the node. May not apply to a given hint type.


*'''MinimumState'''
*'''MinimumState'''
: Minimum State - Require an NPC have a minimum state to use the hint.
: <?> Minimum State - Require an NPC have a minimum state to use the hint.


*'''MaximumState'''
*'''MaximumState'''
: Maximum State - Require an NPC have a maximum state to use the hint.
: <?> Maximum State - Require an NPC have a maximum state to use the hint.


*'''nodeid'''
*'''nodeid'''
: Node ID - Read only.
: <?> Node ID - Read only.


*{{kv targetname}}
*{{kv targetname}}


*'''hinttype'''
*'''hinttype'''
: Hint
: <?> Hint


*'''hintactivity'''
*'''hintactivity'''
: Hint Activity - 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.
: <?> Hint Activity - 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.


*'''StartHintDisabled'''
*'''StartHintDisabled'''
: Start Hint Disabled
: <?> Start Hint Disabled


*'''Group'''
*'''Group'''
: Hint Group - 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.
: <?> Hint Group - 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.


<!--This entity has no flags.-->
<!--This entity has no flags.-->

Revision as of 07:07, 4 April 2006

Template:Wrongtitle

Entity Description

An info_node_hint entity.
Todo: Write a description.

Keyvalues

  • nodeFOV
<?> Node FOV - Imagine this node requires that an NPC be in the node's field of view in order to use this hint.
  • TargetNode
<?> Target node - The node ID of an associated target node, if any.
  • IgnoreFacing
<?> Ignore Facing - Don't pay attention to the facing of the node. May not apply to a given hint type.
  • MinimumState
<?> Minimum State - Require an NPC have a minimum state to use the hint.
  • MaximumState
<?> Maximum State - Require an NPC have a maximum state to use the hint.
  • nodeid
<?> Node ID - Read only.
  • hinttype
<?> Hint
  • hintactivity
<?> Hint Activity - 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.
  • StartHintDisabled
<?> Start Hint Disabled
  • Group
<?> Hint Group - 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.

Inputs

  • DisableHint
Todo: Write a description.
  • EnableHint
Todo: Write a description.

Outputs

  • OnNPCStartedUsing
Todo: Write a description.
  • OnNPCStoppedUsing
Todo: Write a description.

See Also