[How to]Save Auto Groups

[How to]Save Auto Groups

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

Moderator: Moderators

Post Reply
Flash
Posts: 36
Joined: 12 Dec 2010, 18:03

[How to]Save Auto Groups

Post by Flash »

Auto Groups Widget saves groups so you dont have to set them again every game.

Code: Select all

["Auto group"] = {
			addAll = false,
			loadGroups = false,
			verboseMode = true,
			version = "2.22",
			groups = {},
just switch loadGroup=false to "=true" in ba.lua and settings will be saved. (Edit: Better use Silentwings option in next post)
Last edited by Flash on 05 Oct 2014, 14:11, edited 1 time in total.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: [How to]Save Auto Groups

Post by Silentwings »

The help for the autogroups widget reads:
'Alt+0-9 sets autogroup# for selected unit type(s). Newly built units get added to group# equal to their autogroup#.',
'Alt+\~ deletes autogrouping for selected unit type(s).',
'Ctrl+~ removes nearest selected unit from its group and selects it. ',
'/luaui autogroup cleargroups -- Clears your autogroupings.',
'/luaui autogroup loadgroups -- Toggles whether your groups are re-loaded for all future games.',
'/luaui autogroup verbose -- Toggle whether a notification is made when adding/removing autogroups.',
'/luaui autogroup addall -- Toggle whether existing units are added to group# when setting autogroup#.',
This info can be printed to screen with "/luaui autogroups help" (I just discovered this, I am not the author of this widget ;)). So an easier (and safer) way to turn load groups on is

Code: Select all

/luaui autogroups loadgroups
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: [How to]Save Auto Groups

Post by Jools »

This post is so much out of context that it's very funny :)

Edit: I meant the spam post which was deleted
Post Reply

Return to “Lua Scripts”