func_nav_prerequisite

From Source Entities
Jump to navigation Jump to search

Code classes:

Trigger.png

func_nav_prerequisite is a brush entity present in Css.pngCounter-Strike: Source and Tf2.pngTeam Fortress 2. It's used in TF2 to make MvM bots do special things. Does not work when not in MvM mode or at all in Css.png. Used extensively on mvm_mannhattan to make bots move to control points.

Keyvalues[edit | edit source]

Task (Task) <choices>
What the bots should do.
  • 1: Destroy Entity - Does not work.
  • 2: Move to Entity
  • 3: Wait
Task Entity (Entity) <target_destination>
If Task is Move to Entity, the entity to move to.
Task Value (Value) <float>
If Task it Wait, how long to wait.
Start Disabled (StartDisabled) <boolean>
Stay inactive until Enabled.

Inputs[edit | edit source]

Enable
Makes the entity active.
Disable
Makes the entity inactive.
Tip: Disabling the trigger will make bots forget about the task.