Garry's Mod Wiki

NPC:AutoMovement

  boolean NPC:AutoMovement( number interval, Entity target = NULL )

Description

Executes any movement the current sequence may have.

Arguments

1 number interval
This is a good place to use Entity:GetAnimTimeInterval.
2 Entity target = NULL

Returns

1 boolean
true if any movement was performed.