Garry's Mod Wiki

CNavArea:UpdateOnOpenList

  CNavArea:UpdateOnOpenList()

Description

Moves this open list to appropriate position based on its CNavArea:GetTotalCost compared to the total cost of other areas in the open list.

Used in pathfinding via the A* algorithm.

More information can be found on the Simple Pathfinding page.