Garry's Mod Wiki

navmesh.FindInBox

  table navmesh.FindInBox( Vector pos1, Vector pos2 )

Description

Returns a list of CNavAreas overlapping the given cube extents.

Arguments

1 Vector pos1
The start position of the cube to search in.
2 Vector pos2
The "end" position of the cube to search in. This is the opposite corner of the cube, diagonally.

Returns

1 table
A list of found CNavAreas.