NextBot/FindSpots

From Garry's Mod
Jump to: navigation, search
 NextBot:FindSpots( )

Description

Returns a table of hiding spots.

Arguments

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.

Returns

table

An unsorted table of tables containing:

Vector vector - The position of the hiding spot
number distance - the distance to that position
Personal tools
Navigation