CNavArea:GetLaddersAtSide

From Garry's Mod
Jump to: navigation, search
 CNavArea:GetLaddersAtSide( )

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

number navDir

The direction, in which to look for CNavLadders.

0 = Up ( LadderDirectionType::LADDER_UP )

1 = Down ( LadderDirectionType::LADDER_DOWN )

Returns

table

The CNavLadders that have a ( one or two way ) connection from this CNavArea in given direction.
Personal tools
Navigation