Func nav avoidance obstacle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (this is a stub)
No edit summary
Line 1: Line 1:
{{stub}}
{{l4d series brush|func_nav_avoidance_obstacle}} It tells bots that nav areas in this volume are obstructing pathfinding but can be ignored for longer-term queries like computing flow distances and escape routes. Bots will go into the affected areas if their destination is in the obstructed area, or they must cross the obstructed area to reach their destination, but otherwise avoid it. Used sparingly to prevent bots from moving to odd-looking places.
{{l4d series brush|func_nav_avoidance_obstacle}} It is a brush entity that tells bots to avoid nav areas touching its AABB.
{{todo|What does this do? Document this entity better.}}


==Keyvalues==
==Keyvalues==

Revision as of 12:39, 21 March 2021

Template:L4d series brush It tells bots that nav areas in this volume are obstructing pathfinding but can be ignored for longer-term queries like computing flow distances and escape routes. Bots will go into the affected areas if their destination is in the obstructed area, or they must cross the obstructed area to reach their destination, but otherwise avoid it. Used sparingly to prevent bots from moving to odd-looking places.

Keyvalues

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

Uses in Official Maps

Left 4 Dead l4d_river01_docks / Left 4 Dead 2 c7m1_docks

  • 4 of them are used on the wooden structure near the sea by a path of rocks under the bridge.