info_node_link_controller

From Source Entities
Jump to navigation Jump to search

Code classes:

info_node_link_controller is a point entity present in all games except the L4d.pngL4d2-small.pngLeft 4 Dead games. It controls all connections between navigation nodes that intersect a certain volume. This allows for mass enabling and disabling of node connections.

Keyvalues[edit | edit source]

Mins (mins) <vector>
Coordinates relative to the entity defining one point of the volume. A box will appear in hammer to help visualize the dimensions of the volume.
Maxs (maxs) <vector>
Coordinates relative to the entity defining the second point of the volume.
Initial State (initialstate) <choices>
State of the node links the moment the map loads. If there is something blocking the NPC's path while this is on, the NPC may try to walk straight into that object/hole.
  • 0: Off
  • 1: On
Use Larger Radius (for air links) (useairlinkradius) <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 cause the entity to not "see" some air links.
Allow Pass When Off (AllowUse) <target_name_or_class>
Targetname/classname to allow passage even when node is off.
Invert exclusion rules (InvertAllow) <boolean>
Makes target(s) defined in Allow Pass When Off the only targets NOT allowed to pass when off.
Priority (priority) <choices> (available in all games since Asw.png)
How likely it is that NPCs will use these nodes.
  • 0: Normal
  • 1: Use As Last Resort - Tells NPCs that using these nodes will result in a travel distance much longer than it really is, which will severely discourage them from using it.

Inputs[edit | edit source]

TurnOn
Turns the links on.
TurnOff
Turns the links off.
SetAllowed <target_name_or_class>
Sets Allow Pass When Off.
SetInvert <boolean>
Sets Invert exclusion rules.

See Also[edit | edit source]