Help on Lua Widgets - Page 2

Help on Lua Widgets

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Help on Lua Widgets

Post by Beherith »

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.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Re: Help on Lua Widgets

Post by SwiftSpear »

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.
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.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Help on Lua Widgets

Post by Jazcash »

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.
Post Reply

Return to “General Discussion”