Info node link: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Flags: Check these)
(checked against FGD (was that what you had in mind?))
Line 15: Line 15:
: <target_name_or_class> Entity or class to allow passage even when node is off
: <target_name_or_class> Entity or class to allow passage even when node is off


<!--==Flags==
==Flags==
*1 : Force human connect
*1 : Force human connect
*2 : Force small_centered connect
*2 : Force small_centered connect
Line 24: Line 24:
*64 : Force tiny_centered connect
*64 : Force tiny_centered connect
*128 : Force large connect
*128 : Force large connect
*256 : Force large_centered connect-->
*256 : Force large_centered connect


==Inputs==
==Inputs==
* {{i targetname}}
* {{i targetname}}
* '''TurnOn'''
* '''TurnOn'''
: Turn the link on.
: Turn the link on.
* '''TurnOff'''
* '''TurnOff'''
: Turn the link off.
: Turn the link off.


==Outputs==
==Outputs==
* {{o targetname}}
* {{o targetname}}



Revision as of 06:49, 6 October 2005

Template:Wrongtitle

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 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
<boolean>
  • AllowUse
<target_name_or_class> Entity or class to allow passage even when node is off

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 connect
  • 64 : Force tiny_centered connect
  • 128 : Force large connect
  • 256 : Force large_centered connect

Inputs

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

Outputs

See also