CNavArea:IsConnected

From Garry's Mod
Jump to: navigation, search
 CNavArea:IsConnected( )

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

CNavArea navArea

The CNavArea to test against.

Returns

boolean

Whether this CNavArea has an outgoing ( one or two way ) connection to given CNavArea.
Personal tools
Navigation