ISInterface:NavigationGetPath

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

  • bool NavigationGetPath(char *World, char *From, char *To, CNavPath &Dest)

Purpose

Get a path in a world from point A to point B

Usage

Parameters

  • char *World
[in] Name of the world the points are in
  • char *From
[in] Point A in the world
  • char *To
[in] Point B in the world
  • CNavPath &Dest
[out] CNavPath the path in the world will be put into

Return Value

  • bool
Returns true on success, false on failure

Examples

CNavPath CurrentPath;
pISInterface->NavigationGetPath("Earth","Earth_Start","Earth_End",CurrentPath);

See Also