Info node link: Difference between revisions

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


==Entity Description==
== Entity description ==
[[Image:link.png|left]]A dynamic connection between two navigation nodes.  
[[Image:link.png|left]]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).  
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).  
{{clr}}
* 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.


* 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 ==
 
{{clr}}
==Keyvalues==
* {{kv targetname}}
* {{kv targetname}}
* '''StartNode'''  
* '''StartNode'''  
Line 19: Line 18:
: {{boolean}}
: {{boolean}}
* '''AllowUse'''
* '''AllowUse'''
: <target_name_or_class> Entity or class to allow passage even when node is off
: <target_name_or_class> An entity or a class to let through even when the node is off.
* '''{{ep1 add|linktype}}'''
* '''{{ep1 add|linktype}}'''
: <choices> Type of Connection
: <choices> Type of Connection
Line 34: Line 33:
|}
|}


==Flags==
== Flags ==
* 1 : [[NPC_Hull#human_hull|Force human connect]]
* 1 : [[NPC_Hull#human_hull|Force human connect]]
* 2 : [[NPC_Hull#small_centered_hull|Force small_centered connect]]
* 2 : [[NPC_Hull#small_centered_hull|Force small_centered connect]]
Line 45: Line 44:
* 256 : [[NPC_Hull#large_centered_hull|Force large_centered connect]]
* 256 : [[NPC_Hull#large_centered_hull|Force large_centered connect]]


==Inputs==
== Inputs ==
* {{i targetname}}
* {{i targetname}}
* '''TurnOn'''
* '''TurnOn'''
Line 52: Line 51:
: Turn the link off.
: Turn the link off.


==Outputs==
== Outputs ==
* {{o targetname}}
* {{o targetname}}
[[Category:AI]]

Revision as of 03:08, 17 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 - 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

<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.
<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