Garry's Mod Wiki

Garry's Mod Wiki

  table navmesh.Find( Vector pos, number radius, number stepHeight, number dropHeight )

Description

Returns a list of areas within distance, used to find hiding spots by NextBots for example.

Arguments

1 Vector pos
The position to search around. This position will be used to find the closest area to search from.
2 number radius
Radius to search within
3 number stepHeight
Maximum step up height allowed
4 number dropHeight
Maximum step down (fall distance) allowed

Returns

1 table
A list of found CNavAreas.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...