Garry's Mod Wiki

CNavArea:SetCostSoFar

CNavArea:SetCostSoFar( number cost )

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

1 number cost
The cost so far

Page Links


Special Pages


Wikis

?

Render Time: 27ms

Session 0
DB GetPage 2
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 12