Garry's Mod Wiki

CNavArea:GetCorner

  Vector CNavArea:GetCorner( number cornerid )

Description

Returns the vector position of the corner for the given CNavArea.

Arguments

1 number cornerid
The target corner to get the position of, takes NavCorner enum.

Returns

1 Vector
The corner position.