NextBot/FindSpots

From Garry's Mod
Revision as of 13:07, 28 March 2013 by Facepunch bot (Talk | contribs)
Jump to: navigation, search
NextBot:FindSpots( )

Description

Returns a table of hiding spots.

Arguments

table specs

This table should contain the search info.

* 'type' - the type (either 'hiding')
* 'pos' - the position to search.
* 'radius' - the radius to search.
* 'stepup' - the highest step to step up.
* 'stepdown' - the highest we can step down without being hurt.

Returns

table

An unsorted table of tables containing

* 'vector' - the position of the hiding spot
* 'distance' - the distance to that position
Personal tools
Navigation