Difference between revisions of "ISKernel:NavPoint (Command)"
Jump to navigation
Jump to search
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | '''This navigation system is deprecated and is not supported. There may be bugs in it. Please use [[LavishNav]] instead''' | ||
+ | |||
== Syntax == | == 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 == | == 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 == | == See Also == | ||
+ | *[[ISSession:Navigation_System|Navigation_System]] | ||
+ | *[[ISSession:NavPath (Command)|NavPath (Command)]] | ||
+ | *[[ISSession:Navigation (Command)|Navigation (Command)]] | ||
+ | *[[ISSession:navpath (Data Type)|navpath (Data Type)]] | ||
+ | *[[ISSession:navpoint (Data Type)|navpoint (Data Type)]] | ||
+ | *[[ISSession:navigation (Data Type)|navigation (Data Type)]] | ||
+ | *[[ISSession:navworld (Data Type)|navworld (Data Type)]] | ||
+ | *[[ISSession:Navigation (Top-Level Object)|Navigation (Top-Level Object)]] | ||
+ | *[[ISSession:NavPath (Top-Level Object)|NavPath (Top-Level Object)]] | ||
*[[LavishScript:Commands|LavishScript Commands]] | *[[LavishScript:Commands|LavishScript Commands]] | ||
+ | *[[IS:Kernel#Commands|Kernel Commands]] | ||
*[[IS:Session#Commands|Inner Space Session Commands]] | *[[IS:Session#Commands|Inner Space Session Commands]] | ||
+ | |||
+ | {{Command-Stub}} | ||
+ | [[Category:Inner Space]] | ||
+ | [[Category:Inner Space Kernel]] | ||
+ | [[Category:Inner Space Kernel Commands]] |
Latest revision as of 13:54, 10 July 2009
This navigation system is deprecated and is not supported. There may be bugs in it. Please use LavishNav instead
Contents
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
- 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"