Page 1 of 1

Move long distances.

Posted: 08.09.2018 11:23
by arolds
Hi there. I am trying to think of a way to make a script to move the character for long distances (for a treasure hunting script).
Pathfinding long distances (for example 1000 tiles) seems to be impossible with the regular functions (such as getpatharray and newmovexy).
Can anyone give me some tips on how to approach this?
Thank you!

Re: Move long distances.

Posted: 08.09.2018 11:37
by nah nah
the first way - split path
the secons - write a new mover function without the limit

Re: Move long distances.

Posted: 10.09.2018 15:31
by Vizit0r
pathfinding function were limited due to huge time for calculationg.
Thats way big distance should be divided to few parts.