Garry's Mod Wiki

Garry's Mod Wiki

  table CNavArea:GetAdjacentAreasAtSide( number navDir )

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 NavDir enum.

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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...