Minor Request: Squad Creator Widget

Minor Request: Squad Creator Widget

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

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Minor Request: Squad Creator Widget

Post by Argh »

Basically, the Squad Creator Widget would store and save user commands and then replay them for factories.

Unlike the current GUI code, where you can basically only build X number of Y units and then send on path Z, what I'd like is a Widget that could store up user combos, preferably saved and tied to buttons as they were created. And the created Squads would then be assigned to a Group.

So, for example... if a user selected a Infantry Factory, and Squad Creator Widget was active, it'd bring up buttons for any currently-saved squad designs, plus a button to make new ones and a button to delete any one of them (you'd hit that, then left-click on the icon of the Squad you no longer wanted).

This would really help people build and manage their units as squads, without requiring giant changes in Spring's fundamental code, which assumes that a Unit is a singular object.
Post Reply

Return to “Lua Scripts”