I cant get it work. Can anyone tell me wats wrong with this?
-
Rage
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Rage
-
Actions
- Set TargetOfRage = (Target unit of ability being cast)
- Set MoveRocks = 0.00
-
For each (Integer A) from 1 to 18, do (Actions)
-
Loop - Actions
- Unit - Create 1 Rocks for Neutral Passive at ((Position of (Casting unit)) offset by (Random real number between 50.00 and 200.00) towards (Random angle) degrees) facing (Facing of TargetOfRage) degrees
- Animation - Change (Last created unit) flying height to ((Current flying height of (Last created unit)) + (Random real number between 30.00 and 100.00)) at 1000000000.00
-
Loop - Actions
- Trigger - Turn on Rage2 <gen>
- Wait 2.00 seconds
- Trigger - Turn off Rage2 <gen>
- Trigger - Turn on Rage3 <gen>
- Wait 2.00 seconds
- Trigger - Turn off Rage3 <gen>
- Unit Group - Pick every unit in (Units of type Rocks) and do (Unit - Remove (Picked unit) from the game)
-
Events
-
Rage2
-
Events
- Time - Every 0.02 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units of type Rocks) and do (Actions)
-
Loop - Actions
- Animation - Change (Picked unit) flying height to ((Current flying height of (Picked unit)) + (Random real number between 1.00 and 3.00)) at 1000000000.00
-
Loop - Actions
-
Unit Group - Pick every unit in (Units of type Rocks) and do (Actions)
-
Events
-
Rage3
-
Events
- Time - Every 0.02 seconds of game time
- Conditions
-
Actions
- Set MoveRocks = (MoveRocks + 1.00)
-
Unit Group - Pick every unit in (Units of type Rocks) and do (Actions)
-
Loop - Actions
- Unit - Move (Picked unit) instantly to ((Position of (Casting unit)) offset by MoveRocks towards (Facing of TargetOfRage) degrees)
-
Loop - Actions
-
Events
Last edited: