info_node_link

From Valve Developer Community

Jump to: navigation, search

This is a point entity available in all Source games.

Contents

Entity description

A dynamic connection between two navigation nodes.

You specify the node IDs of the start and end nodes, and then you can use entity Inputs and Outputs to turn on and off the connection. This could be used to create or destroy a connection in the nodegraph because of some event in your map (a bridge being created/destroyed, etc).

  • See also info_node_link_controller - manages all connections between nodes that intersect the controller's volume. This allows for mass enabling/disabling of all node connections through a volume.

Keyvalues

  • Targetname:

Name <string>
The targetname other entities refer to this entity by.
  • StartNode
<node_dest> The node ID of one end of the node connection.
  • EndNode
<node_dest> The node ID of one end of the node connection.
  • initialstate
<boolean>
  • AllowUse
<target_name_or_class> An entity or a class to let through even when the node is off.
  • linktype
<choices> Type of Connection
Literal Value Description
1 Ground
2 Jump
4 Fly
8 Climb

Flags

Inputs

  • Targetname:

Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs; see User Inputs and Outputs.
  • TurnOn
Turn the link on.
  • TurnOff
Turn the link off.

Outputs

  • Targetname:

OnUser1 to OnUser4
Fired in response to the FireUser inputs; see User Inputs and Outputs.
OnKilled (New with Left 4 Dead)
Fired when the entity is killed and removed from the game.
Personal tools