Difference between revisions of "ISKernel:navpath (Data Type)"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
*'''Clear''': Resets the path so it contains no points | *'''Clear''': Resets the path so it contains no points | ||
*'''GetPath['''world''','''point a''','''point b''']''': Gets the shortest path from point A to point B (clearing is not required, it is done automatically) | *'''GetPath['''world''','''point a''','''point b''']''': Gets the shortest path from point A to point B (clearing is not required, it is done automatically) | ||
+ | *'''Reverse''': Reverses the path | ||
+ | |||
== Returns == | == Returns == | ||
Revision as of 04:53, 26 February 2005
Description
Members
- navpoint Point[#]: Retrieves a point on the path, starting with 1
- int Points: The total number of points on this path
Methods
(these methods require Inner Space 0.74)
- Clear: Resets the path so it contains no points
- GetPath[world,point a,point b]: Gets the shortest path from point A to point B (clearing is not required, it is done automatically)
- Reverse: Reverses the path