There must be some global function to build a path instance from starting points and ending points.
http://projectzomboid.com/modding/zombie/ai/astar/Path.html
How can I do this?
I tried using: http://projectzomboid.com/modding/zombie/ai/astar/IPathfinder.html
Example:
local myPath = PathFinder.findPath(Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)
local myPath = PathFinder:findPath(Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)
local myPath = getPathFinder():findPath(Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)
local myPath = findPath(Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)
But none of which the LUA can recognize.
is this a java only function or something? how do you use it?