Route

Top  Previous  Next

Returns the cost of a route from node1 to node2.

 

You can call RouteFind afterwards, if you want the actual route and not just the cost.

 

It returns -1 if no route is found.

 

Syntax: Route(node1,node2: integer): TCost