what the...

Status
Not open for further replies.
Level 22
Joined
Jan 10, 2005
Messages
3,426
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Poison Nova (Necrolord) for (Casting unit)) Equal to 2
Then - Actions
For each (Integer A) from 1 to 7, do (Actions)
Loop - Actions
Unit - Create 1 Poison Nova Dummy I for (Owner of (Casting unit)) at (Position of (Casting unit)) facing ((Position of (Casting unit)) offset by 1000.00 towards ((360.00 / 7.00) x (Real((Integer A)))) degrees)
Unit - Order (Last created unit) to Neutral - Breath Of Frost ((Position of (Casting unit)) offset by 1.00 towards ((360.00 / 7.00) x (Real((Integer A)))) degrees)
Else - Actions
Do nothing

Its supposed to create 7 shockwave based waves around the casting unit, seperated over a circle (thats why i did the 360 thing) but it keeps creating the spells on 1 point, all the 7 ways... rly dont know why
 
Level 6
Joined
Apr 4, 2005
Messages
299
that problem occurs sometimes and i do not know exactly why. Perhaps it is because all this are happening simultalneously, but as I said, I do not realy know.
Try to put wait action (0.01 game-time) to loop
 
Status
Not open for further replies.
Top