• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Unit Selection

Status
Not open for further replies.
Level 6
Joined
Dec 8, 2009
Messages
179
Hi Everyone,

I wanted to ask if the following is possible and how I have to trigger it.
There are 3 (example) different unitgoups A B and C and 3 different (single) units a b and c refering to the unitgroups A B and C saved as variable-arrays.

Now I want that if a unit of the unit groups is selected in-game that the refering single unit is selected and the unitgroup is deselected.

Example:
I select by pull selection 3 units of group A 5 units of group B and 1 unit of the group C.
Now the current selection should be deselected and the units a b and c should be selected.
 
Status
Not open for further replies.
Top