Garry's Mod Wiki

Revision Difference

CNavArea:UpdateOnOpenList#514347

<function name="UpdateOnOpenList" parent="CNavArea" type="classfunc">⤶ <description>⤶ Moves this open list to appropriate position based on its <page>CNavArea:GetTotalCost</page> compared to the total cost of other areas in the open list.⤶ ⤶ Used in pathfinding via the [A* algorithm](https://en.wikipedia.org/wiki/A*_search_algorithm).⤶ ⤶ ⤶ More information can be found on the <page>Simple Pathfinding</page> page.⤶ </description>⤶ <realm>Server</realm>⤶ </function>⤶ ⤶