Difference between revisions of "ISKernel:NavPath (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
NavPath -reset|<world> <from point> <to point>
+
NavPath -reset|<world> <from point> <to point> [additional points ...]
  
 
== Description ==
 
== Description ==
Line 7: Line 7:
 
== Examples ==
 
== Examples ==
 
  NavPath "area 1" "front of inn" "front of bank"
 
  NavPath "area 1" "front of inn" "front of bank"
 +
NavPath "area 1" "front of inn" "front of bank" "top of ramp"
 
  NavPath -reset
 
  NavPath -reset
  

Revision as of 16:53, 3 June 2005

Syntax

NavPath -reset|<world> <from point> <to point> [additional points ...]

Description

Retrieves the shortest connected path in a given world from one point to another, to be used with the NavPath Top-Level Object. The -reset switch is used to clear the path, though this is not required before generating a new path.

Examples

NavPath "area 1" "front of inn" "front of bank"
NavPath "area 1" "front of inn" "front of bank" "top of ramp"
NavPath -reset

See Also