Garry's Mod Wiki

navmesh.CreateNavArea

  CNavArea navmesh.CreateNavArea( Vector corner, Vector opposite_corner )

Description

Creates a new CNavArea.

Arguments

1 Vector corner
The first corner of the new CNavArea
2 Vector opposite_corner
The opposite (diagonally) corner of the new CNavArea

Returns

1 CNavArea
The new CNavArea or nil if we failed for some reason.