nolanri Posted November 14, 2016 Share Posted November 14, 2016 (edited) 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? Edited November 14, 2016 by nolanri Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now