Garry's Mod Wiki

CNavArea:GetAdjacentCount

CNavArea:GetAdjacentCount

  number 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

1 number
The amount of CNavAreas that have a connection ( one and two way ) from this CNavArea.

Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 2
Generate Html 4
SaveChanges (1) 5
Render Body 0
Render Sidebar 9