Func nav prefer: Difference between revisions
Jump to navigation
Jump to search

Note: For this entity to take effect, it's volume must cover an entire nav cell to take effect on that cell.
Note: The path cost of moving through this nav area is 4% of the regular cost. While unlikely, other paths could have a value lower than the preferred path.
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
Thunder4ik (talk | contribs) m (Unicodifying, replaced: See Also → See also, {{language subpage → {{langsp) |
||
Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{ | <!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a|e2|name=func_nav_prefer|game=Team Fortress 2}} | ||
==Entity description== | ==Entity description== | ||
Line 17: | Line 17: | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
==See | ==See also== | ||
*[[func_nav_avoid]] that does the opposite task, makes bots avoid a path. | *[[func_nav_avoid]] that does the opposite task, makes bots avoid a path. |
Revision as of 09:35, 8 January 2024


func_nav_prefer
is an e2 available in Team Fortress 2.
Entity description
Artificially makes bots prefer a certain area when choosing navigation paths by decreasing the pathfinding cost of progressing through the area.


Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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
Enable
input).
TeamNum:
- Initial Team (TeamNum) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in
) !FGD
- 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_avoid that does the opposite task, makes bots avoid a path.