CNavArea:SetTotalCost

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

Description

Sets the total cost of the path.

Used in pathfinding via the A* algorithm.

This article is a stub.
Please help the Garry's Mod wiki by adding to it.

Arguments

number cost

The total cost of the path to set.

Must be above or equal 0.
Personal tools
Navigation