func_nav_avoidance_obstacle

From Source Entities
Jump to navigation Jump to search

Code classes:

Trigger.png

func_nav_avoidance_obstacle is a brush entity present in all games except Dods.pngDay of Defeat: Source and the Hl2.pngHalf-Life 2 series. 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.

Note: Only works in L4d.pngL4d2-small.png.

Keyvalues[edit | edit source]

Start Disabled (StartDisabled) <boolean>
Stay inactive until Enabled.

Inputs[edit | edit source]

Enable  (only available in L4d.png)
Makes the entity active.
Disable  (only available in L4d.png)
Makes the entity inactive.