Garry's Mod Wiki

CNavArea:GetRandomAdjacentAreaAtSide

Description

Returns a random CNavArea that has an outgoing ( one or two way ) connection from this CNavArea in given direction.

Arguments

1 number navDir
The direction, in which to look for CNavAreas, see Enums/NavDir.

Returns

1 CNavArea
The random CNavArea that has an outgoing ( one or two way ) connection from this CNavArea in given direction, if any.

Page Links


Special Pages


Wikis

?

Render Time: 43ms

Session 0
DB GetPage 2
Generate Html 14
SaveChanges 7
Render Body 0
Render Sidebar 17