CustomFormations +1

CustomFormations +1

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
Broker
Posts: 156
Joined: 02 Jul 2012, 13:16

CustomFormations +1

Post by Broker »

Hello maybe someone wants to fix a convenient widget CustomFormations +1

Author: Bishop181 (Niobium, jK, gunblob)
Mods: All
Latest Version: 3.100
Downloads: 631 (0.80 D / d)
Entry-Date: 2010-06-13 09:59:31
Description:
It puts units into upto three rows ordered by hp / cost. construction units always at the back. adds weighting to units w / high trajectory &

I wrote about the problem with it on the forum.
http://springrts.com/phpbb/viewtopic.php?f=11&t=28538 # p526693
User avatar
Niobium
Posts: 456
Joined: 07 Dec 2008, 02:35

Re: CustomFormations +1

Post by Niobium »

Appears to be a bug that was solved in the main custom formations widget long ago.

Replace line 757

Code: Select all

if (#fNodes == 1) then
With

Code: Select all

if fDists[#fNodes] < 20 then
Post Reply

Return to “Lua Scripts”