Info node link: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=info_node_link}}
{{wrongtitle|title=info_node_link}}
{{base_point}}[[Category:AI]]


==Entity Description==
==Entity Description==
Line 53: Line 54:
==Outputs==
==Outputs==
* {{o targetname}}
* {{o targetname}}
[[category:Entities]]
[[category:AI]]

Revision as of 14:27, 12 April 2008

Template:Wrongtitle Template:Base point

Entity Description

Link.png

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 which controls all connections between nodes that intersect the controller's volume. This allows for mass enabling/disabling of all node connections through a volume.

Keyvalues

<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> Entity or class to allow passage even when node is off
<choices> Type of Connection
Literal Value Description
1 Ground
2 Jump
4 Fly
8 Climb

Flags

Inputs

Turn the link on.
  • TurnOff
Turn the link off.

Outputs