Garry's Mod Wiki

navmesh.GetNavAreaByID

CNavArea navmesh.GetNavAreaByID( number id )

Description

Returns a CNavArea by the given ID.

Avoid calling this function every frame, as internally it does a lookup trough all the CNavAreas, call this once and store the result

Arguments

1 number id
ID of the CNavArea to get. Starts with 1.

Returns

1 CNavArea
The CNavArea with given ID.

Page Links


Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 33
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 12