kingkwong92
Well-Known Member
- Reaction score
- 25
arrow volley
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (==) Arrow Volley
Actions
Trigger - Turn off (This trigger)
Animation - Play (Triggering unit)'s stand - 3 animation
Unit Group - Pick every unit in (Units within 1000.00 of (Position of (Triggering unit)) matching (((Unit-type of (Matching unit)) Equal to (==) Archer) and (((Matching unit) is dead) Equal to (==) False))) and do (Actions)
Loop - Actions
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing (270.0) degrees
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Shoot to (Last created unit)
Unit - Order (Last created unit) to Neutral Tinker - Cluster Rockets ((Target point of ability being cast) offset by ((Random real number between -500.00 and 500.00), (Random real number between -500.00 and 500.00)))
Unit - Order (Picked unit) to Stop
Unit - Make (Picked unit) face (Target point of ability being cast) over 0.50 seconds
Animation - Play (Picked unit)'s Attack - 2 animation
Wait 1.00 seconds
Trigger - Turn on (This trigger)
To Pharaoh
I haven't tested it out yet but wouldn't the all the archers end up shooting at the same spot?
Thanks for the help because I'm a real noob at variables.
Is there a tutorial for variables?:thup::thup::thup: