Global/Path

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (This is not a class function)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=Path
 
|Parent=Global
 
 
|Description=Creates a path for the bot to follow
 
|Description=Creates a path for the bot to follow
 
|Realm=Server
 
|Realm=Server
 
|IsClass=No
 
|IsClass=No
 +
|Name=Path
 +
|Parent=Global
 
|File_Name=src/garrysmod/Objects/lua_path.cpp
 
|File_Name=src/garrysmod/Objects/lua_path.cpp
 
|File_Line=444
 
|File_Line=444
Line 12: Line 12:
 
|name=type
 
|name=type
 
|desc=The name of the path to create.
 
|desc=The name of the path to create.
This is going to be "Follower" right now.
+
This is going to be "Follow" or "Chase" right now.
 
}}
 
}}
 
{{Ret
 
{{Ret
|type=BotPath
+
|type=PathFollower
 
|desc=The path
 
|desc=The path
 
}}
 
}}

Latest revision as of 20:02, 26 September 2015

 Path( )

Description

Creates a path for the bot to follow

Arguments

string type

The name of the path to create.

This is going to be "Follow" or "Chase" right now.

Returns

PathFollower

The path
Personal tools
Navigation