Garry's Mod Wiki

NPC:GetCurWaypointPos

  Vector NPC:GetCurWaypointPos()

Description

Gets the NPC's current waypoint position (where NPC is currently moving towards), if any is available.

Returns

1 Vector
The position of the current NPC waypoint.