Garry's Mod Wiki

CNavArea:IsConnectedAtSide

  boolean CNavArea:IsConnectedAtSide( CNavArea navArea, number navDirType )

Description

Returns whether this CNavArea has an outgoing ( one or two way ) connection to given CNavArea in given direction.

See CNavArea:IsConnected for a function that checks all sides.

Arguments

1 CNavArea navArea
The CNavArea to test against.
2 number navDirType
The direction, in which to look for the connection. See NavDir enum

Returns

1 boolean
Whether this CNavArea has an outgoing ( one or two way ) connection to given CNavArea in given direction.