- Joined
- Feb 18, 2007
- Messages
- 216
So, I have a spell called "rocket pod", it launches five rockets in target area. The problem is that mostly only two or three rockets are launched, sometimes only one :/ Here's the trigger, is there something I need to know?
-
Rocket pod
-
Events
-
Unit - A unit Begins casting an ability
-
Conditions
-
(Ability being cast) Equal to Rocket Pod
-
Actions
-
Set rocketpod_target = (Target point of ability being cast)
-
For each (Integer A) from 1 to 5, do (Actions)
-
Loop - Actions
-
Unit - Create 1 Rocket Pod Dummy for Player 1 (Red) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
-
Unit - Order (Last created unit) to Attack Ground (rocketpod_target offset by (Random real number between 0.00 and 200.00) towards (Random angle) degrees)
-
Wait 0.27 seconds
-