ISKernel:NavPoint (Command)

From Lavish Software Wiki
Revision as of 13:54, 10 July 2009 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

This navigation system is deprecated and is not supported. There may be bugs in it. Please use LavishNav instead

Syntax

NavPoint -list <world>|-set <world> <point name> [X] [Y] [Z]|-remove <world> <point name>|-[dis]connect [-bidirectional] <world> <from point> <to point>

Forms

  • NavPoint -list <world> - lists all navpoints in <world>
  • NavPoint -set <world> <point name> [X] [Y] [Z] - creates a navpoint in world at X,Y,Z coordinates with <point name>
  • NavPoint -remove <world> <point name> - deletes <point name> from <world>
  • NavPoint -connect <world> <from point> <to point> - creates a connection from <from point> to <to point> in <world>
  • NavPoint -disconnect <world> <from point> <to point> - removes a connection from <from point> to <to point> in <world>
  • -bidirectional option when used on -connect and -disconnect makes them two way connections

Examples

List all navpoints in a world

  • NavPoint -list smurfvillage
Output
'centerofvillage' - -451.790985,-2649.424072,95.521385
'pt1' - -431.328003,-2674.584717,95.783867
'pt10' - -564.858582,-2719.536377,91.666908
'pt11' - -596.385986,-2705.600342,96.496201
'pt12' - -606.699768,-2659.519531,95.787628
'pt13' - -565.178162,-2650.454346,95.603569
'pt14' - -576.854309,-2604.077637,92.647034
'pt15' - -551.652466,-2572.173828,91.770325

Create a point in a world

  • NavPoint -set "smurfvillage" "centerofvillage" -451.790985 -2649.424072 95.521385
Output
Point centerofvillage set in world smurfvillage

Delete a point in a world

  • NavPoint -remove smurfvillage centerofvillage

Create a connection between points

  • NavPoint -connect -bidirectional smurfvillage "Jokey's House" "Smurfette's Hut"

Remove a connection between points

  • NavPoint -disconnect -bidirectional smurfvillage "Papa Smurf" "Gargamel"

See Also