Garry's Mod Wiki

Garry's Mod Wiki

  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 NavDir enum.

Returns

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...