Garry's Mod Wiki

Garry's Mod Wiki

  number CNavArea:GetCostSoFar()

Description

Returns the cost from starting area this area when pathfinding. Set by CNavArea:SetCostSoFar.

Used in pathfinding via the A* algorithm.

More information can be found on the Simple Pathfinding page.

Returns

1 number
The cost so far.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...