Page 1 of 1
Removing unit from unit group?
Posted: 06 Sep 2021, 10:26
by very_bad_soldier
Hi,
is it possible to remove a unit from a unit group? I think many years ago I managed to do it but I cannot find it anymore.
Thanks.
Re: Removing unit from unit group?
Posted: 06 Sep 2021, 15:57
by Beherith
Code: Select all
// bind q groupselect
// bind q groupadd
// bind Ctrl+q aiselect
// bind Shift+q groupclear
Re: Removing unit from unit group?
Posted: 07 Sep 2021, 15:16
by very_bad_soldier
Yes, I am aware but it has no effect for me. Even though keydebug shows the action is triggered.
I select the units in question and press 'shift+q', yes?
Re: Removing unit from unit group?
Posted: 08 Sep 2021, 09:56
by Beherith
Afaik yes, but i have not tested it

Re: Removing unit from unit group?
Posted: 08 Sep 2021, 21:28
by very_bad_soldier
I searched for string "groupclear" in spring source code and was kinda expecting to find a handler or something for that command but could not find anything. Could also be gadget dunno, but I think then this is currently not working.
Re: Removing unit from unit group?
Posted: 09 Sep 2021, 12:12
by Silentwings
No idea about the old keybinds approach (wouldn't be surprised if they were deprecated/dead) but from lua iirc there is CMD.GROUPCLEAR and CMD.GROUPADD
Re: Removing unit from unit group?
Posted: 09 Sep 2021, 21:45
by very_bad_soldier
Thanks, maybe I will try that.
Re: Removing unit from unit group?
Posted: 31 Oct 2021, 22:15
by Ares
`+ number = remove from group
` + number + alt = remove from autogroup