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!
Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7
Move long distances.
Re: Move long distances.
the first way - split path
the secons - write a new mover function without the limit
the secons - write a new mover function without the limit
Re: Move long distances.
pathfinding function were limited due to huge time for calculationg.
Thats way big distance should be divided to few parts.
Thats way big distance should be divided to few parts.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".