Difference between revisions of "ISKernel:NavPoint (Command)"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
== 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 == |
Revision as of 19:07, 25 August 2005
Contents
Syntax
NavPoint -list <world>|-set <world> <point name> [X] [Y] [Z]|-remove <world> <point name>|-[dis]connect <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>
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"