Scene:CalculatePath

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxCalculatePath( * Start and end positions on the scene to find the path between.
  • A list which will be filled out with waypoints between the start and end. )
Description:
Calculates and returns the least difficult path between two points on the current scene. Takes both distance and materials into account.
ReturnsThe total minimum difficulty cost calculated between the two points on the scene.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools