2
Path
bi0qaw edited this page 2017-11-25 17:28:56 +01:00
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 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::*}