AEK
New Member
- Reaction score
- 0
I've posted about massing in two other threads but this is for a different problem than the other two threads were about.
Ok, firstly i'm creating a mass-attack for a game. This is the trigger.
In that form it only sends 12 units, and i want it to send ALL units.
Ok, firstly i'm creating a mass-attack for a game. This is the trigger.
Code:
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mass Middle
Actions
Set Mass_tmp_group = (Units owned by (Owner of (Triggering unit)) matching (((Unit-type of (Matching unit)) Not equal to Base Wisp) and ((((Matching unit) is A Hero) Equal to False) and ((Owner of (Matching unit)) Equal to (Owner of (Triggering unit))))))
Set Mass_tmp_point = (Center of Mid <gen>)
Unit Group - Pick every unit in Mass_tmp_group and do (Actions)
Loop - Actions
Unit Group - Order Mass_tmp_group to Attack-Move To Mass_tmp_point
Custom script: call DestroyGroup (udg_Mass_tmp_group)
Custom script: call RemoveLocation (udg_Mass_tmp_point)
In that form it only sends 12 units, and i want it to send ALL units.