CNavArea/IsConnectedAtSide

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 14: Line 14:
 
|type=number
 
|type=number
 
|name=navDirType
 
|name=navDirType
|desc=The direction, in which to look for outgoing connections. See {{Enum|NavDir}}
+
|desc=The direction, in which to look for the connection. See {{Enum|NavDir}}
 
}}
 
}}
 
{{Ret
 
{{Ret

Latest revision as of 03:30, 2 June 2015

 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