Garry's Mod Wiki

Garry's Mod Wiki

  PathFollower:MoveCursorToClosestPosition( Vector pos, number type = 0, number alongLimit = 0 )

Description

Moves the cursor of the path to the closest position compared to given vector.

Arguments

1 Vector pos
2 number type = 0
Seek type

0 = SEEK_ENTIRE_PATH - Search the entire path length

1 = SEEK_AHEAD - Search from current cursor position forward toward end of path

2 = SEEK_BEHIND - Search from current cursor position backward toward path start

3 number alongLimit = 0

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...