NPC:MoveOrder
Description
Makes the NPC walk toward the given position. The NPC will return to the player after amount of time set by player_squad_autosummon_time ConVar.
Only works on Citizens (npc_citizen) and is a part of the Half-Life 2 squad system.
The NPC must be in the player's squad for this to work.
Arguments
Example
A console command that makes all Citizens on the map (if they are in the player's squad) try to go to where the player is looking at.
Garry's Mod
Rust
Steamworks
Wiki Help