Garry's Mod Wiki

Revision Difference

CNavArea:GetLaddersAtSide#518197

<function name="GetLaddersAtSide" parent="CNavArea" type="classfunc"> <description> Returns all <page>CNavLadder</page>s that have a ( one or two way ) connection **from** ( one and two way ) this <page>CNavArea</page> in given direction. See <page>CNavArea:GetLadders</page> for a function that returns <page>CNavLadder</page> 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;CNavLadder&lt;/page&gt;s.&#xA;&#xA;0 = Up ( LadderDirectionType::LADDER_UP )&#xA;1 = Down ( LadderDirectionType::LADDER_DOWN )</arg>⤶ <arg name="navDir" type="number">The direction, in which to look for <page>CNavLadder</page>s.⤶ 0 = Up ( LadderDirectionType::LADDER_UP )⤶ 1 = Down ( LadderDirectionType::LADDER_DOWN )</arg>⤶ </args> <rets> <ret name="" type="table">The <page>CNavLadder</page>s that have a ( one or two way ) connection **from** this <page>CNavArea</page> in given direction.</ret> </rets> </function>