For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
does this make this event happen 10 times
sorry for the noob question
Yes it does. And the integer A is a temporary variable.
Trigger:
- Unit Group - Pick every unit in (Units within 512.00 of (YourUnit)) matching (((Matching unit) belongs to an enemy of YourPlayer) Equal to True)) and do (Unit Group - Add (Picked unit) to (UnitGroup))
What exactly will this do?
Trigger:
- Actions
- Unit - Create 1 Dummy for (Owner of (YourUnit)) at (YourPosition)) facing SomeDegree
- Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
- For each (Integer A) from 1 to 10, do (Actions)
- Loop - Actions
- Unit Group - Pick every unit in (Units within 512.00 of (YourUnit)) matching (((Matching unit) belongs to an enemy of YourPlayer) Equal to True)) and do (Unit Group - Add (Picked unit) to (UnitGroup))
- Unit - Order Unit to DoSomeSpell (Random unit from (Last created unit group))
You could, of course save all your units and variables etc. That should work, though.