CFuncNavCost

From Source Entities
Jump to navigation Jump to search

Code classes:

CFuncNavCost is a class in some Source games that modifies how much bots like or dislike a certain area of a map. Does not seem to work in Css.png.

Tip: Make sure the trigger completely encompasses nav squares you want to affect.

Keyvalues[edit | edit source]

Tags (required!) (tags) <string> (only available in Tf2.png)
One or more tags separated by spaces which bots must have in order to be affected by this trigger. Some tags are automatically set by MvM game logic, and it will also recognize the names of classes. To make all bots be affected, use trigger_bot_tag to create your own tag.
Team (team) <string>
Which team to affect.
Literal Value Tf2.png
-2 Everyone
2 Red
3 Blue
Start Disabled (start_disabled) <boolean>
Starts the trigger off.

Inputs[edit | edit source]

Enable
Makes the entity active.
Disable
Makes the entity inactive.
Toggle  (only available in Tf2.png)
If off, turn on. If on, turn off.