Limited support
This feature is only present in Portal 2: Community Edition and Portal: Revolution.

npc_route

🟩 Executable on Server

npc_route

Displays the current route of the given NPC as a line on the screen. Waypoints along the route are drawn as small cyan rectangles. Line is color coded in the following manner: Blue - path to a node Cyan - detour around an object (triangulation) Red - jump Maroon - path to final target position Arguments: {npc_name} / {npc_class_name} / no argument picks what player is looking at

Warning:

This is a cheat command and can only be used when sv_cheats is set to 1.