Garry's Mod Wiki

Revision Difference

CNavArea:IsConnectedAtSide#514326

<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 &lt;page&gt;CNavArea&lt;/page&gt; to test against.</arg> <arg name="navDirType" type="number">The direction, in which to look for the connection. See &lt;page&gt;NavDir&lt;/page&gt;</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>