Garry's Mod Wiki

CNavArea:ComputeDirection

  number CNavArea:ComputeDirection( Vector pos )

Description

Returns the NavDir enum direction that the given vector faces on this CNavArea.

Arguments

1 Vector pos
The position to compute direction towards.

Returns

1 number
The direction the vector is in relation to this CNavArea. See NavDir enum.