• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Unit groups.

Status
Not open for further replies.
Level 4
Joined
Nov 24, 2010
Messages
70
Hi, i made a spell that when a unit casts that spell, a variable group will be set that records all units within 300 range of casting unit. Then the number of units in the group as an integer variable. Then the trigger will create (Number of units in unit group) for casting unit. The problem is, how can we order every unit of a group to cast a dummy spell on every unit. for exmp, every unit in CasterGroup to cast spell on every unit in TargetGroup? Also, its 1 unit cast to 1 unit. A target will not be casted on by the ability twice
 
Hi, i made a spell that when a unit casts that spell, a variable group will be set that records all units within 300 range of casting unit. Then the number of units in the group as an integer variable. Then the trigger will create (Number of units in unit group) for casting unit. The problem is, how can we order every unit of a group to cast a dummy spell on every unit. for exmp, every unit in CasterGroup to cast spell on every unit in TargetGroup? Also, its 1 unit cast to 1 unit. A target will not be casted on by the ability twice

If I get what you mean correctly, then you won't need 2 groups.
Just use "Pick every unit in group and do multiple actions" for the target group and then create a dummy for every unit separately.
You could also recycle dummies, but I guess that is not needed at this point.
 
Status
Not open for further replies.
Back
Top