qwerty said:
im not exactly pretty well with the loop.. mind helping a little more?
Ok, i don't know the exact syntax, but it like this
for integerA=1 to 10 do
damage unit X with 50 damage
loop
so, it will do
damage unit X with 50 damage
damage unit X with 50 damage
damage unit X with 50 damage
damage unit X with 50 damage
...
...
damage unit X with 50 damage
repeated until ten times, so X will get 50 repeatedly damage = 500 damage total
-----------------------------------------------------
Now, back to the problem,
you must do:
create that unit on [caster position] with 500 polar offset, 5 degree angle.
create that unit on [caster position] with 500 polar offset, 10 degree angle.
create that unit on [caster position] with 500 polar offset, 15 degree angle.
....
....
....
create that unit on [caster position] with 500 polar offset, 360 degree angle.
those require (360/5)=
72 times operation.
So, use loop here,
for integerA=1 to 72 do
create that unit on [caster position] with 500 polar offset, (5*
IntegerA) degree angle.
loop
hope you understand that.