Garry's Mod Wiki

Garry's Mod Wiki

  Vector NextBot:FindSpot( string type, table options )

Description

Like NextBot:FindSpots but only returns a vector.

Arguments

1 string type
Either "random", "near", "far".
2 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

1 Vector
If it finds a spot it will return a vector. If not it will return nil.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...