Garry's Mod Wiki

CNavArea:GetRandomAdjacentAreaAtSide

CNavArea CNavArea:GetRandomAdjacentAreaAtSide( number navDir )

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: 54ms

DB GetPage 3
Generate Html 8
SaveChanges (1) 20
Render Body 0
Render Sidebar 21