task fromAllSides {
let i = 0;
let maxbullets = 10; // var for maximum bulletd
let offsetY = GetClipMaxY/maxbullets; // this is offset for the left and right side of the field.
// ok we got our offset, time to try this out
while (i <[b]=[/b] maxbullets ) {
// we multiply i by the offset so the first bullet will spawn 0, because 0 x offset = 0. 1xoffset = ... etc
CreateShot01(GetClipMinX,i*offsetY,.........);
i++;
}
}
I'm guessing, adding the extra "=" will help solve the bottom right problem.