Info node link controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=info_node_link_controller}}
[[File:link.png|left|link=]]
{{base_point}}


== Entity description ==
{{base point|info_node_link_controller}} It controls all connections between [[nodegraph|navigation nodes]] that intersect the controller's volume. This allows for mass enabling/disabling of ''all'' node connections through a volume.{{clr}}
[[Image:link.png|left]]An [[entity]] that controls all connections between [[nodegraph|navigation nodes]] that intersect the controller's volume. This allows for mass enabling/disabling of ''all'' node connections through a volume.{{clr}}
 
* See also [[info_node_link]] - allows dynamic enabling/disabling of individual [[nodegraph]] connections.


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV|Mins|vector}}
* '''mins'''
{{KV|Maxs|vector}}
: <vector> Mins
{{KV|Initial State|choices}}
* '''maxs'''
:* 0 : Off
: <vector> Maxs
:* 1 : On
* '''initialstate'''
{{KV|Use Larger Radius (for air links)|boolean|Set this to 'Yes' if this controller is intended to control air links. Air links connect using a larger search radius so leaving this at 'No' might miss some air links.}}
: {{boolean}}
{{KV|Allow Pass When Off|string|Entity or class to allow passage even when node is off}}
* '''AllowUse'''
{{KV|Invert exclusion rules|boolean|Allowed entity is the only entity NOT allowed when this is set to 'yes'}}
: <target_name_or_class> An entity or a class to let through even when the node is off.
{{KV Targetname}}


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{IO|TurnOn|Turn the link on.}}
{{IO|TurnOff|Turn the link off.}}
{{IO|SetAllowed|Change the allowed pass when off|param=string}}
{{IO|SetInvert|Change the invert exclusion rule|param=integer}}
{{I Targetname}}


* '''TurnOn'''
== Outputs ==
: Turn the link on.
{{O Targetname}}
 
* '''TurnOff'''
: Turn the link off.


== Outputs ==
== See also ==
* {{O Targetname}}
* [[info_node_link]] - allows dynamic enabling/disabling of individual [[nodegraph]] connections.


[[Category:AI]]
[[Category:AI]]

Revision as of 09:03, 26 July 2011

Link.png

Template:Base point It controls all connections between navigation nodes that intersect the controller's volume. This allows for mass enabling/disabling of all node connections through a volume.

Keyvalues

Mins ([todo internal name (i)]) <vector>
Maxs ([todo internal name (i)]) <vector>
Initial State ([todo internal name (i)]) <choices>
  • 0 : Off
  • 1 : On
Use Larger Radius (for air links) ([todo internal name (i)]) <boolean>
Set this to 'Yes' if this controller is intended to control air links. Air links connect using a larger search radius so leaving this at 'No' might miss some air links.
Allow Pass When Off ([todo internal name (i)]) <string>
Entity or class to allow passage even when node is off
Invert exclusion rules ([todo internal name (i)]) <boolean>
Allowed entity is the only entity NOT allowed when this is set to 'yes'
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

TurnOn
Turn the link on.
TurnOff
Turn the link off.
SetAllowed <stringRedirectInput/string>
Change the allowed pass when off
SetInvert <integerRedirectInput/integer>
Change the invert exclusion rule


Outputs

See also