Difference between revisions of "ISKernel:navpath (Data Type)"

From Lavish Software Wiki
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)
 +
*'''GetPath['''world''','''point a''','''point b''','''additional points ...''']''': Gets the shortest path from point A to point B to point C to point D ad infinitum (clearing is not required, it is done automatically)
 
*'''Reverse''': Reverses the path
 
*'''Reverse''': Reverses the path
  

Revision as of 16:54, 3 June 2005

Description

Members

  • point3f Point[#]: Retrieves a point on the path, starting with 1
  • string PointName[#]: Retrieves the original name of a point on the path, starting with 1
  • int Points: The total number of points on this path

Methods

  • 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,additional points ...]: Gets the shortest path from point A to point B to point C to point D ad infinitum (clearing is not required, it is done automatically)
  • Reverse: Reverses the path

Returns

Examples

See Also