Info node link: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
==Keyvalues==
==Keyvalues==


* [[Targetname]]
* {{kv targetname}}
* '''StartNode'''  
* '''StartNode'''  
: <node_dest> The node ID of one end of the node connection.
: <node_dest> The node ID of one end of the node connection.
Line 35: Line 35:
==Inputs==
==Inputs==


* [[Targetname]]
* {{i targetname}}


* '''TurnOn'''
* '''TurnOn'''
Line 45: Line 45:
==Outputs==
==Outputs==


* [[Targetname]]
* {{o targetname}}


[[category:Entities]]
[[category:Entities]]
[[category:AI]]
[[category:AI]]

Revision as of 21:11, 9 July 2005

Template:Wrongtitle

Entity Description

Entity Name: info_node_link

A dynamic connection between two navigation nodes. You specify the node IDs of the start and end nodes, and then you can use entity I/O 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).

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
<choices>
  • Off
  • On
  • AllowUse
<string> Entity or class to allow passage even when node is off

Flags

  • Force human connect
  • Force small_centered connect
  • Force wide_human connect
  • Force tiny connect
  • Force wide_short connect
  • Force medium connect
  • Force tiny_centered connect
  • Force large connect
  • Force large_centered connect

Inputs

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

Outputs