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 Enums/NavCorner.

Returns

1 Vector
The corner position.