Garry's Mod Wiki


  table NextBot:FindSpots( table specs )


Returns a table of hiding spots.


1 table specs
This table should contain the search info.

string type - The type (optional, only 'hiding' supported)

Vector pos - the position to search.

number radius - the radius to search.

number stepup - the highest step to step up.

number stepdown - the highest we can step down without being hurt.


1 table
An unsorted table of tables containing:

Vector vector - The position of the hiding spot

number distance - the distance to that position