Help on Lua Widgets
Moderator: Moderators
Re: Help on Lua Widgets
I didnt mean random, random is suboptimal in many ways, especially in units crossing paths. I meant that it should try to keep an even distribution of unit types along the formation line.
- SwiftSpear
- Classic Community Lead
- Posts: 7287
- Joined: 12 Aug 2005, 09:29
Re: Help on Lua Widgets
If it's going to stay semirandom for performance reasons... I agree with beherith on this. It should at least sort the units so they have an equal type distribution along the line. That's really not expensive to do.Beherith wrote:I didnt mean random, random is suboptimal in many ways, especially in units crossing paths. I meant that it should try to keep an even distribution of unit types along the formation line.
Re: Help on Lua Widgets
Would it be possible to tell units which direction to face once they have reached their final destination?
For example, if I had a load of Penetrators and I drew a wavy line for them to form in, I'd want them to all face at a certain direction that I think targets are going to come from.
So something like a direction arrow you can rotate as well as holding right click to draw the line.
For example, if I had a load of Penetrators and I drew a wavy line for them to form in, I'd want them to all face at a certain direction that I think targets are going to come from.
So something like a direction arrow you can rotate as well as holding right click to draw the line.