Garry's Mod Wiki

Revision Difference

CNavArea:GetAdjacentCountAtSide#518201

<function name="GetAdjacentCountAtSide" parent="CNavArea" type="classfunc"> <description> Returns the amount of <page>CNavArea</page>s that have a connection ( one or two way ) **from** this <page>CNavArea</page> in given direction. See <page>CNavArea:GetAdjacentCount</page> for a function that returns <page>CNavArea</page> count from/in all sides/directions. </description> <realm>Server</realm> <args> <arg name="navDir" type="number">The direction, in which to look for &lt;page&gt;CNavArea&lt;/page&gt;s, see &lt;page&gt;NavDir&lt;/page&gt;.</arg> <arg name="navDir" type="number">The direction, in which to look for <page>CNavArea</page>s, see <page>NavDir</page>.</arg> </args> <rets> <ret name="" type="number">The amount of <page>CNavArea</page>s that have a connection ( one or two way ) **from** this <page>CNavArea</page> in given direction.</ret> </rets> </function>