Created Path (markdown)
parent
468693d9e2
commit
e4aca6a295
27
Path.md
Normal file
27
Path.md
Normal file
@ -0,0 +1,27 @@
|
||||
## Vectors
|
||||
```
|
||||
vector %vectors% path with density %number%
|
||||
```
|
||||
## Locations
|
||||
```
|
||||
%location% path with density %number%
|
||||
```
|
||||
|
||||
Creates lines between the locations or vectors. This is different from [link all](Link-All) because it does not connect all locations/vectors with each other but only connects each location/vector with the next one in the list.
|
||||
|
||||
Example:
|
||||
```
|
||||
set {_poly::*} to polygon with 7 points and radius 10
|
||||
set {_path::*} to vector path between {_poly::*} with density 5
|
||||
show happy villager at player offset by {_path::*}
|
||||
```
|
||||

|
||||
|
||||
Note that the last and first polygon vertices are not connected. If you want to connect them you have to add the first location/vector of the list to the end of the list:
|
||||
```
|
||||
set {_poly::*} to polygon with 7 points and radius 10
|
||||
add {_poly::1} to {_poly::*} # add first vector to the end of the list
|
||||
set {_path::*} to vector path between {_poly::*} with density 5
|
||||
show happy villager at player offset by {_path::*}
|
||||
```
|
||||

|
Loading…
Reference in New Issue
Block a user