PathFollower:MoveCursorToClosestPosition

From Garry's Mod
Jump to: navigation, search
 PathFollower:MoveCursorToClosestPosition( )

Contents

Description

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

Arguments

Vector pos

Arguments

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


Arguments

number alongLimit=0

Personal tools
Navigation