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

From Lavish Software Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
NavPath -reset|<world> <from point> <to point> [additional points ...]
 
NavPath -reset|<world> <from point> <to point> [additional points ...]
  
== Description ==
+
== Forms ==
Retrieves the shortest connected path in a given world from one point to another, to be used with the [[ISSession:NavPath (Top-Level Object)|NavPath Top-Level Object]].  The -reset switch is used to clear the path, though this is not required before generating a new path.
+
*NavPath -reset -  resets current nav path
 +
*NavPath <world> <point> <point> [additional points] - creates a navpath from point 1 to point 2 (and to point 3, etc if given)
  
 
== Examples ==
 
== Examples ==

Revision as of 19:21, 25 August 2005

Syntax

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

Forms

  • NavPath -reset - resets current nav path
  • NavPath <world> <point> <point> [additional points] - creates a navpath from point 1 to point 2 (and to point 3, etc if given)

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