CNavArea/GetCostSoFar

From Garry's Mod
Revision as of 16:02, 26 February 2018 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 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

number

The cost so far.
Personal tools
Navigation