Garry's Mod Wiki


  table navmesh.Find( Vector pos, number radius, number stepHeight, number dropHeight )


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


1 Vector pos
The position to search around. This position will be used to find the closest area to search from.
2 number radius
Radius to search within
3 number stepHeight
Maximum step up height allowed
4 number dropHeight
Maximum step down (fall distance) allowed


1 table
A list of found CNavAreas.