Skip to main content

server PathFinder:calculate

table PathFinder:calculate(from, to)

Returns a table (Vector) that contains a list of tiles to move to in order. If result is null then no path was found


Parameters

TypeNameDescriptionOptional
VectorfromNo description
VectortoNo description

Returns

TypeDescription
tableNo description