Garry's Mod Wiki

CNavLadder:IsConnectedAtSide

  boolean CNavLadder:IsConnectedAtSide( CNavArea navArea, number navDirType )

Description

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

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 CNavLadder has an outgoing ( one or two way ) connection to given CNavArea in given direction.