Garry's Mod Wiki

CNavArea:GetLaddersAtSide

  table CNavArea:GetLaddersAtSide( number navDir )

Description

Returns all CNavLadders that have a ( one or two way ) connection from ( one and two way ) this CNavArea in given direction.

See CNavArea:GetLadders for a function that returns CNavLadder from/in all sides/directions.

Arguments

1 number navDir
The direction, in which to look for CNavLadders.

0 = Up ( LadderDirectionType::LADDER_UP ) 1 = Down ( LadderDirectionType::LADDER_DOWN )

Returns

1 table
The CNavLadders that have a ( one or two way ) connection from this CNavArea in given direction.