PathFollower/MoveCursor

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=MoveCursor
+
|Description=Moves the cursor by give distance.
|Parent=BotPath
+
 
|Description=Moves the cursor by this much
+
For a function that sets the distance, see {{ClassFunction|PathFollower|MoveCursorTo}}.
|Realm=
+
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes
|File_Name=src/garrysmod/Objects/lua_path.cpp
+
|Name=MoveCursor
|File_Line=383
+
|Parent=PathFollower
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
 
|name=distance
 
|name=distance
|desc=The distance to move the cursor (in world units)
+
|desc=The distance to move the cursor (in relative world units)
 
}}
 
}}

Latest revision as of 20:28, 26 September 2015

 PathFollower:MoveCursor( )

Description

Moves the cursor by give distance.

For a function that sets the distance, see PathFollower:MoveCursorTo.

Arguments

number distance

The distance to move the cursor (in relative world units)
Personal tools
Navigation