Garry's Mod Wiki

CNavArea:PopOpenList

  CNavArea CNavArea:PopOpenList()

Description

Removes a CNavArea from the Open List with the lowest cost to traverse to from the starting node, and returns it.

Used in pathfinding via the A* algorithm.

More information can be found on the Simple Pathfinding page.

Returns

1 CNavArea
The CNavArea from the Open List with the lowest cost to traverse to from the starting node.