navmesh/Find

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|Name=Find
 
|Name=Find
 
|Parent=navmesh
 
|Parent=navmesh
|Description=Ret
+
|Description=Returns a bunch of areas within distance, used to find hiding spots by {{Type|NextBot}}s for example.
 
|Realm=Server
 
|Realm=Server
 
|IsClass=No
 
|IsClass=No

Revision as of 12:52, 7 December 2013

 navmesh.Find( )

Contents

Description

Returns a bunch of areas within distance, used to find hiding spots by NextBots for example.

Arguments

Vector pos

The position to search around

Arguments

number radius

Radius to search within

Arguments

number stepdown

Maximum stepdown( fall distance ) allowed

Arguments

number stepup

Maximum stepup( jump height ) allowed

Returns

table

A table of NavAreas
Personal tools
Navigation