Warcraft III resources & community, 2003–2006 · archived

what the...

5 posts
#1

what the...

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
#2
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
#3
wont work :cry: it does create em 0.01 sec after eachother but still at the same spot
#4
hmm...and did you tried set biger offset? 100.00 eg.
#5
actually i started with a bigger offset ^^ i started with the cast range minus 1. so thought, maybe it casts them all on the same spot cuz there was no space to cast the spells, so i changed to 1. so no, thats not it either :cry: