• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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.
 
Level 6
Joined
Dec 8, 2009
Messages
179
Thanks for Help Maker.

I couldn't test so far 'cause I'm sitting on a comuter not able to update and the version of the WC3 editor doesn't know hashtable but I will test as soon as I'm at home.

BTW does it work when using unit- and unitgroup-arrays?
 
Status
Not open for further replies.
Top