CNavArea:IsConnectedAtSide

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

Contents

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

CNavArea navArea

The CNavArea to test against.

Arguments

number navDirType

The direction, in which to look for the connection. See NavDir_ Enums

Returns

boolean

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