navmesh.Find

From Garry's Mod
Jump to: navigation, search
 navmesh.Find( )

Contents

Description

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

Arguments

Vector pos

The position to search around

Arguments

number radius

Radius to search within

Arguments

number stepdown

Maximum stepdown( fall distance ) allowed

Arguments

number stepup

Maximum stepup( jump height ) allowed

Returns

table

A table of CNavAreas
Personal tools
Navigation