- Joined
- Apr 27, 2012
- Messages
- 241
Hi,
I want certain units not to be selected when I drag select units. If one clicks on them, however, they're supposed to be selected as usual.
here's what I'm trying to do (you don't have to read this but maybe it helps to get the idea...)
I need this for a squad system. Basically every unit-type exists twice (one as group leader, the others as squad members) Graphically it will look as if all units of a squad are selected at once but actually only the squad leader is selected so only one icon appears in the interface.
Furthermore the squad members got the classification 'ward' so when you drag select units they will be ignored in favor of the squad leaders (this makes it possible to select greater numbers of squads via drag-select).
When you drag select units and 1 or more units do NOT have the 'ward' classification all units which ARE 'wards' will not be selected.
Consequently if I drag select only the squad members (which are all 'wards') but not the squad leader then these squad members are all selected at once.
This sucks because I'm trying to make a squad system here! Of course the squad system triggers will unselect them but there's a short delay before units are unselected by a trigger so for a short moment three or more unit icons appear in the selection.
[...]
So what I need is either what I described in the beginning or a way to make triggers instantly unselect units without that weird delay.
I want certain units not to be selected when I drag select units. If one clicks on them, however, they're supposed to be selected as usual.
here's what I'm trying to do (you don't have to read this but maybe it helps to get the idea...)
I need this for a squad system. Basically every unit-type exists twice (one as group leader, the others as squad members) Graphically it will look as if all units of a squad are selected at once but actually only the squad leader is selected so only one icon appears in the interface.
Furthermore the squad members got the classification 'ward' so when you drag select units they will be ignored in favor of the squad leaders (this makes it possible to select greater numbers of squads via drag-select).
When you drag select units and 1 or more units do NOT have the 'ward' classification all units which ARE 'wards' will not be selected.
Consequently if I drag select only the squad members (which are all 'wards') but not the squad leader then these squad members are all selected at once.
This sucks because I'm trying to make a squad system here! Of course the squad system triggers will unselect them but there's a short delay before units are unselected by a trigger so for a short moment three or more unit icons appear in the selection.
[...]
So what I need is either what I described in the beginning or a way to make triggers instantly unselect units without that weird delay.