CNavArea:GetAdjacentCount

From Garry's Mod
Jump to: navigation, search
 CNavArea:GetAdjacentCount( )

Description

Returns the amount of CNavAreas that have a connection ( one and two way ) from this CNavArea.

See CNavArea:GetAdjacentCountAtSide for a function that only returns area count from one side/direction.

Returns

number

The amount of CNavAreas that have a connection ( one and two way ) from this CNavArea.
Personal tools
Navigation