SetonsGrandPa wrote:who will spread attack between t1 and t3 ?? you focus t3 only. And its for 1 pass. So all you have to do is:
It was an example of units who take different amounts of time to kill. I'm going to assume you don't always queue up a split attack on a uniform group of units against a uniform group of units?
SilverKronos wrote:CodingSquirrel wrote: if you have something like 5 t1 queued up first and then 5 t3 queued after, once the t1 is dead the first 6 units are killing the first t3, while the last 4 are killing the other 4 t3. I'm having a hard time coming up with a suitable algorithm that solves that and other similar issues.
Perhaps a hybrid, where the first attack is stable but the rest are random?
i didn't get that part sorry ^^
It would be simplier to distribute "equitably" the targets to all attackers. if there is 60 target and 60 attackers thant every single one should have a differrent target. if not, shift+G is useless
I'll be a little more clear. Say you have 5 units and send them against 5 other units, and use split attack. The way I had it set up their attack order would look like this:
1: 1,2,3,4,5
2: 2,3,4,5,1
3: 3,4,5,1,2
4: 4,5,1,2,3
5: 5,1,2,3,4
So let's say the enemy units 1 and 2 die before the others. Now you'd have your units 1,2, and 3 attacking the enemy unit 3, and unit 4 still killing 4, and unit 5 still killing 5. That's not very uniform.