The Daily Click ::. Forums ::. Klik Coding Help ::. Multiple pathfinding
 

Post Reply  Post Oekaki 
 

Posted By Message

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
17th January, 2007 at 07:24:36 -

My short question: Is there any idea to "easily" make multiple pathding. I know Andos example, but it's very difficult to understand and apply. And anyway the new multiple pathfinding should be like in old strategygames like Red Alert. You can select many of your units and then they will move to the place you have clicked. They also take their own cells (they are not all going to the same cell I clicked ).

Bad english, but hopefully someone understood.

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
17th January, 2007 at 08:02:15 -

I haven't seen the example you mentioned, but I can assure you that there is no really easy way. I guess you just do the same as with one object, but you use fastloops and spread values and stuff.

 
n/a

Reno



Registered
  11/01/2005
Points
  906
17th January, 2007 at 14:24:48 -

I would assosiate the cells with a return value. If its 0 then no one is occupying that space. If 1 then the person would then move to the next closest spot to that point. You would then get somrthing like this. (X is where you clicked)

.....
..X...
....
Notice how it is uniform. This is because they don't spawn there so they are not in a perfect circle. They MOVE there.

 
Reborn Again

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
21st January, 2007 at 03:12:09 -

Could someone make an example ?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click