Garry's Mod Wiki

CNavArea:GetAdjacentAreasAtSide

Description

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

If an area has a one-way incoming connection to this CNavArea, then it will not be returned from this function, use CNavArea:GetIncomingConnections to get all incoming connections.

See CNavArea:GetAdjacentAreas for a function that returns all areas from all sides/directions.

Arguments

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

Returns

1 table
A table of all CNavArea that have a ( one and two way ) connection from this CNavArea in given direction.

Returns an empty table if this area has no outgoing connections to any other areas in given direction.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 2
Generate Html 6
SaveChanges 9
Render Body 0
Render Sidebar 13