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: 66ms

DB GetPage 44
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 6