Hello moggy2,
Great work with your Group Management System.
i would like to show you some ideas i have worked out.
first of all i have to say that i'm german, so i apologize for maby bad english.
now:
i have some more new and adjusted commands in addition to the existing "Setup Group command" and so on.
1. setup group (groupname, groupnumber, shipcount, shiptype)
2. remove ship from group (any member-ship of a group)
3. append ship to group (any ship)
4. disband group (any member-ship or the leader of a group)
5. choose new group leader (any member-ship of a group)
6. select group (any member-ship or the leader of a group)
7. add group to Selection (any member-ship or the leader of a group)
not a command:
8-13. assign hotkey 1-6 to Selection (no arguments needed)
I think the command-names are self-explanatory but i explain them just to be shure.
1. setup group
original script but without the assignation of a hotkey
this means that the groups are defined, they have a name and a groupnumber but no hotkey yet (im not shure if the combination of group-name and -number should be indexed, so that there are no duplicates)
2. remove ship form group
this command expects you to select any ship which is assigned to a group
(maybe you should get an error-message if it's not)
it removes the ship from its current group
3. append ship to group
(im not quite shure if this command is useful because then you an add ships of different shiptypes to groups)
this command expects you to select any ship A and any ship B which is memer or leader of a group. from ship B you will get the groupnumber to which ship A will be appended.
if the ship A is alredy member of a group it will be removed from this group and assigned to the new one.
if the ship A is leader of a group the two groups will be joined.
4. disband group
this command expects you to select any ship which is member or leader of a group. the whole group will be disbanded
5. choose new group leader
expects you to select any ship which is member (not leader) of a group.
the selected ship will be the new group leader (don’t know how your script reacts when the group leader is killed)
If the old leader is still alive he will get demoted to member of the group
6. select group
this command expects you to select any ship which is member or leader of a group.
this is not like selecting a group by pressing a hotkey, but more like selecting a couple of ships with the mouse like it is in strategy-games.
with this command the last selection gets lost and you select a new group.
(for instance you have selected group 1. now you select group 2, finally you have only selected only group 2)
7 add group to selection
this command expects you to select any ship which is member or leader of a group.
same as before but here you add a group to the current selection, this means that you have selected more than one group.
(for instance you have selected group 1. now you select group 2, finally you have selected group 1 AND 2. maybe next time you select group 4 with this command, then you have selected groups 1, 2 and 4)
8-13 assign hotkey 1-6 to selection
now the intention of the commands 6 and 7 is as follows:
if you have one or more groups selected you can now give them a shortcut so that you can select them by pressing the shortcut next time.
I think that makes it easier to change hotkeys for the groups.
For instance you can select groups 1 and 3 (with command 7) then giving them the shortcut 1 (by command
you can select for example groups 2 and 4 (also with command 7) then giving them for example shortcut 3 (by command 10)
So you can change shortcuts without having to change the groups.
hope you like my ideas.