Garry's Mod Wiki

Revision Difference

CNavArea:IsConnectedAtSide#518913

<function name="IsConnectedAtSide" parent="CNavArea" type="classfunc"> <description> Returns whether this <page>CNavArea</page> has an outgoing ( one or two way ) connection **to** given <page>CNavArea</page> in given direction. See <page>CNavArea:IsConnected</page> for a function that checks all sides. </description> <realm>Server</realm> <args> <arg name="navArea" type="CNavArea">The <page>CNavArea</page> to test against.</arg> <arg name="navDirType" type="number">The direction, in which to look for the connection. See <page>NavDir</page></arg>⤶ <arg name="navDirType" type="number">The direction, in which to look for the connection. See <page>Enums/NavDir</page></arg>⤶ </args> <rets> <ret name="" type="boolean">Whether this <page>CNavArea</page> has an outgoing ( one or two way ) connection **to** given <page>CNavArea</page> in given direction.</ret> </rets> </function>