NextBot/FindSpot

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

Contents

Description

Like NextBot:FindSpots but only returns a vector.

Arguments

string type

Either "random", "near", "far"

Arguments

table options

This table should contain the search info.

string type - The type (Only'hiding' for now)
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

Vector

If it finds a spot it will return a vector. If not it will return nil.
Personal tools
Navigation