Garry's Mod Wiki

Garry's Mod Wiki

  number CNavArea:GetAdjacentCountAtSide( number navDir )

Description

Returns the amount of CNavAreas that have a connection ( one or two way ) from this CNavArea in given direction.

See CNavArea:GetAdjacentCount for a function that returns CNavArea count from/in all sides/directions.

Arguments

1 number navDir
The direction, in which to look for CNavAreas, see NavDir enum.

Returns

1 number
The amount of CNavAreas that have a connection ( one or two way ) from this CNavArea in given direction.

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...