- Joined
- Apr 5, 2009
- Messages
- 18
So like, skipping the intros since i can see no such forum here, i've tried modifying this trigger in several ways and such but i can't seem to get it to work.
You see what its suppose to do (according to my understanding) is loop through the numbers 1 - 10, doing whatever i set it to do, until it reaches 10 or is stopped by a condition etc.
Now the problem lies with the 'wait' parts. For one reason or another, the trigger just stops when it reaches either of the 'wait''s. Ive tried removing them and it looped through with no problems, so I've surmised that the problem lies with the 'wait''s although it could just as easily be the fact that i don't completely understand how the loop works and therefore am doing something wrong... halp me plz
You see what its suppose to do (according to my understanding) is loop through the numbers 1 - 10, doing whatever i set it to do, until it reaches 10 or is stopped by a condition etc.
Now the problem lies with the 'wait' parts. For one reason or another, the trigger just stops when it reaches either of the 'wait''s. Ive tried removing them and it looped through with no problems, so I've surmised that the problem lies with the 'wait''s although it could just as easily be the fact that i don't completely understand how the loop works and therefore am doing something wrong... halp me plz

-
Inverted Harmony Main
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Inverted Harmony (item)
-
-
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
-
(Mana of (Target unit of ability being cast)) Greater than or equal to 1.00
-
And - All (Conditions) are true
-
Conditions
-
(Mana of (Target unit of ability being cast)) Greater than (Life of (Target unit of ability being cast))
-
-
-
-
Then - Actions
-
Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) - 100.00)
-
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + 100.00)
-
Wait 1.00 seconds
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Mana of (Target unit of ability being cast)) Greater than or equal to 1.00
-
And - All (Conditions) are true
-
Conditions
-
(Life of (Target unit of ability being cast)) Greater than (Mana of (Target unit of ability being cast))
-
-
-
-
Then - Actions
-
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - 100.00)
-
Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) + 100.00)
-
Wait 1.00 seconds
-
-
Else - Actions
-
-
-
-
-
-
-