News:

Check out the MegaGlest Wiki! Anyone can be an editor, and we want you!

Main Menu

Moving along specified path

Started by galaxy, 21 July 2015, 10:13:13

galaxy

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

Quote from: galaxy on 21 July 2015, 10:13:13
...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

It really exists  :)
I didn't know that
Thanks filux