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

Warning:
Note:
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.) |
Thunder4ik (talk | contribs) m (→See also: Unicodifying, replaced: See Also → See also) |
||
Line 27: | Line 27: | ||
{{O Trigger}} | {{O Trigger}} | ||
==See | ==See also== | ||
*{{ent|func_nav_prefer}}, which influences bots to prefer this region by decreasing the pathfinding cost within it. | *{{ent|func_nav_prefer}}, which influences bots to prefer this region by decreasing the pathfinding cost within it. | ||
*{{ent|func_nav_avoid}}, which influences bots to avoid this region by increasing the pathfinding cost within it. | *{{ent|func_nav_avoid}}, which influences bots to avoid this region by increasing the pathfinding cost within it. |
Revision as of 09:35, 8 January 2024


func_nav_prerequisite
is an e2 available in Team Fortress 2.

- The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
It is a trigger volume that requires bots to do perform a task before they can move through it.

func_nav_prerequisite
triggers are only registered by the Navmesh on round start. To register them late, the following VScript snippet can be used to force a nav mesh update.
RegisterScriptGameEventListener("round_start")
SendGlobalGameEvent("round_start", {})
Keyvalues
- Task ([todo internal name (i)]) <choices>
- What must be done to move through this volume
- 1 : Destroy Entity (Value = max range to attack from. -1 for no range restriction)
Bug:In
, this task does not function. [todo tested in ?]
- 2 : Move to Entity
- 3 : Wait (Value = seconds to wait)
- Task Entity ([todo internal name (i)]) <targetname>
- The subject entity of the Task.
|
Flags
|
Inputs
|
Outputs
|
See also
- func_nav_prefer, which influences bots to prefer this region by decreasing the pathfinding cost within it.
- func_nav_avoid, which influences bots to avoid this region by increasing the pathfinding cost within it.