Hello, I tried to make a really basic trigger to achieve a kind of "burst fire" effect on one of my units attacks
Thanks!
-
Burst Fire
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Unit-type of (Attacking unit)) Equal to Clone Arc Trooper (Minigun)
-
Actions
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Current order of (Attacking unit)) Equal to (Order(attack))
-
Then - Actions
- Wait 1.00 seconds
- Unit - Order (Attacking unit) to Stop.
- Wait 1.00 seconds
- Unit - Order (Attacking unit) to Attack (Attacked unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 10, do (Actions)
-
Events
Thanks!