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.
Removing unit from unit group?
Moderator: Moderators
Re: Removing unit from unit group?
Code: Select all
// bind q groupselect
// bind q groupadd
// bind Ctrl+q aiselect
// bind Shift+q groupclear
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Removing unit from unit group?
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?
I select the units in question and press 'shift+q', yes?
Re: Removing unit from unit group?
Afaik yes, but i have not tested it
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Removing unit from unit group?
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.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Removing unit from unit group?
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
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Removing unit from unit group?
Thanks, maybe I will try that.
Re: Removing unit from unit group?
`+ number = remove from group
` + number + alt = remove from autogroup
` + number + alt = remove from autogroup