Garry's Mod Wiki

CNavArea:GetAdjacentCountAtSide

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 Enums/NavDir.

Returns

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

Page Links


Special Pages


Wikis

?

Render Time: 69ms

DB GetPage 36
Generate Html 10
SaveChanges (1) 13
Render Body 0
Render Sidebar 7