CNavArea/SetCostSoFar

From Garry's Mod
Jump to: navigation, search
 CNavArea:SetCostSoFar( )

Description

Sets the cost from starting area this area when pathfinding.

Used in pathfinding via the A* algorithm.
More information can be found on the Simple Pathfinding page.

Arguments

number cost

The cost so far
Personal tools
Navigation