Author Topic: Moving along specified path  (Read 1343 times)

galaxy

  • Initiate
  • Posts: 6
    • View Profile
Moving along specified path
« on: 21 July 2015, 10:13:13 »
All know that there situations when moving units stuck or jam in certain locations due to map complexity or existence of buildings on path. I suggest developing the ability to multiple destination points. Such that the unit move to specified points in order to reach the final destination. I'm not familiar with the code of the game, but I think the algorithm of medication  wouldn't be very complex (or impossible ::)). Instead of having one destination point for unit, there might be more. once first point is reached, the following point is the new destination.
This might vacillate improvements in playing strategy by surprising opponent by attack from unexpected positions.
Thanks

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: Moving along specified path
« Reply #1 on: 21 July 2015, 15:47:24 »
...Instead of having one destination point for unit, there might be more. once first point is reached, the following point is the new destination...
Sounds like you are talking about "queue". This exist and is very easy to do.

Example:
Select some unit > right click on some location > right click on some location with "shift" button > right click on some location with "shift" button > ...

galaxy

  • Initiate
  • Posts: 6
    • View Profile
Re: Moving along specified path
« Reply #2 on: 21 July 2015, 20:53:41 »
It really exists  :)
I didn't know that
Thanks filux