Info node link

From Valve Developer Community

This point-based entity is available in all Source games.

Table of 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

Defines the name that other entities refer to this entity by.
  • hammerid [New with Orange Box]
<integer readonly> This id is used for debugging purposes in Hammer.
  • 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 [Episode One Update]
<choices> Type of Connection
Literal Value Description
1 Ground
2 Jump
4 Fly
8 Climb

Flags

Inputs

  • Kill
Removes this entity from the world.
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 == infinite)>
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
  • TurnOn
Turn the link on.
  • TurnOff
Turn the link off.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator