Yoko

All sides of Injection
It is currently 2024-03-29 00:08:20

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: pathfinding
PostPosted: 2018-02-16 15:48:39 
Offline

Joined: 2009-12-02 20:25:25
Posts: 5
Hi guys, I am in the middle of writing new mining script and I think this is the hardest part now, to create a pathfinding algorithm. I can tell what statics are good to as part of the path, I can tell what are not good and I can tell what objects are making tile impassable for me. With these known facts, I should be able to write the pathfind sc, but I lack the idea about the proper algorithm, any idea how to solve it? even in theory, it could help a lot now, or if you know some working pathfinding sc, where I can define target coords, or to define good and bad statics to move on etc, if you could link me to it, would be great.

also is there a way for function to return 2 arrays?
return array1,array2
?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited