func_nav_avoid
Jump to navigation
Jump to search
func_nav_avoid is an e2 available in
Counter-Strike: Source,
Team Fortress 2, and
Garry's Mod.
Entity description
Artificially makes bots avoid a certain area when choosing navigation paths by increasing the pathfinding cost of progressing through the area.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enableinput).
TeamNum:
- tags ([todo internal name (i)]) <string>
- additional context for if the entity should apply to a specific bot
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
See also
- func_nav_prefer that does the opposite task, makes bots prefer a path.