NextBot/GetRangeTo

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 3: Line 3:
 
|Parent=NextBot
 
|Parent=NextBot
 
|Description=Returns the distance to an entity or position
 
|Description=Returns the distance to an entity or position
|Realm=
+
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes
 
|File_Name=src/garrysmod/Objects/lua_nextbot.cpp
 
|File_Name=src/garrysmod/Objects/lua_nextbot.cpp

Revision as of 22:23, 27 June 2013

 NextBot:GetRangeTo( )

Description

Returns the distance to an entity or position

Arguments

multiple to

Either an entity or a Vector position

Returns

number

distance
Personal tools
Navigation