Garry's Mod Wiki

NextBot:FindSpots

table NextBot:FindSpots( table specs )

Description

Returns a table of hiding spots.

Arguments

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.

Returns

1 table
An unsorted table of tables containing:

Vector vector - The position of the hiding spot

number distance - the distance to that position

Page Links


Special Pages


Wikis

?

Render Time: 46ms

DB GetPage 3
Generate Html 11
SaveChanges (1) 12
Render Body 0
Render Sidebar 17