Need help with unit group

RadiuS.x

Active Member
Reaction score
2
What I want to do is,

I want to add 5 specific units to a unit group. Then I want to order a unit outside of that unit group to attack a random unit from the unit group. If a unit is dead inside the unit group, I want them removed from it. How can I do this?
 

denmax

You can change this now in User CP.
Reaction score
155
Use these commands. I'm assuming "specific" means they are preplaced in the map

Unit Group - Add unit
Unit - Issue order targeting a unit (Random unit from unit group)
Unit Group - Remove unit

Its probable you want to add these units in the group at the start of the map, so we could use "Map initialization". As for removing them, you could use event "Unit - A unit dies" with a Boolean comparison condition "Unit - Unit in unit group"
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top