Garry's Mod Wiki

CNavArea:IsConnected

  boolean CNavArea:IsConnected( CNavArea navArea )

Description

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

See CNavArea:IsConnectedAtSide for a function that only checks for outgoing connections in one direction.

Arguments

1 CNavArea navArea
The CNavArea to test against.

Returns

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