Garry's Mod Wiki

NPC:StopMoving

  NPC:StopMoving( boolean immediate = true )

Description

Resets the NPC's movement animation and velocity. Does not actually stop the NPC from moving.

Arguments

1 boolean immediate = true
Whether to stop moving even when currently active goal doesn't want us to.