Garry's Mod Wiki

Garry's Mod Wiki

  table CNavArea:GetIncomingConnections()

Description

Returns a table of all the CNavAreas that have a one-way connection to this CNavArea.

If a CNavArea has a two-way connection to or from this CNavArea then it will not be returned from this function, use CNavArea:GetAdjacentAreas to get outgoing ( one and two way ) connections.

See CNavArea:GetIncomingConnectionsAtSide for a function that returns one-way incoming connections from only one side/direction.

Returns

1 sequental table<CNavArea>
A table of all CNavAreas with one-way connection to this CNavArea.

Returns an empty table if there are no one-way incoming connections to this CNavArea.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...