navmesh/Find

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
 
Line 28: Line 28:
 
{{Ret
 
{{Ret
 
|type=table
 
|type=table
|desc=A table of {{Type|NavArea}}s
+
|desc=A table of {{Type|CNavArea}}s
 
}}
 
}}

Latest revision as of 16:28, 1 June 2014

 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 CNavAreas
Personal tools
Navigation