Garry's Mod Wiki

navmesh.Find

table navmesh.Find( Vector pos, number radius, number stepdown, number stepup )

Description

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

Arguments

1 Vector pos
The position to search around
2 number radius
Radius to search within
3 number stepdown
Maximum stepdown( fall distance ) allowed
4 number stepup
Maximum stepup( jump height ) allowed

Returns

1 table
A table of CNavAreas

Page Links


Special Pages


Wikis

?

Render Time: 86ms

DB GetPage 38
Generate Html 13
SaveChanges (1) 21
Render Body 0
Render Sidebar 11