info_node_link
From Valve Developer Community
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
- 1 : Force human connect
- 2 : Force small_centered connect
- 4 : Force wide_human connect
- 8 : Force tiny connect
- 16 : Force wide_short connect
- 32 : Force medium permission
- 64 : Force tiny_centered connect
- 128 : Force large connect
- 256 : Force large_centered connect
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> -
FireUser1toFireUser4 - Fire the
OnUseroutputs; see User Inputs and Outputs.
- TurnOn
- Turn the link on.
- TurnOff
- Turn the link off.
Outputs
-
Targetname:
-
OnUser1toOnUser4 - Fired in response to the
FireUserinputs; see User Inputs and Outputs. -
OnKilled(New with Left 4 Dead) - Fired when the entity is killed and removed from the game.

