home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 January
/
Chip_2003-01_cd1.bin
/
oddech
/
bechpack
/
bechpack.exe
/
scripts
/
frame_1089
/
DoAction.as
Wrap
Text File
|
2002-10-29
|
1KB
|
26 lines
i = 1;
while(Number(i) < Number(level * 3))
{
duplicateMovieClip("/stoun","s" add i,16384 + (1000 + Number(i)));
x = Number(random(18) * 15) + 67.5;
y = Number(random(28) * 15) + 22.5;
if(Number(x) == Number(getProperty("/1", _X)))
{
x -= 30;
}
setProperty("/s" add i, _X, x);
setProperty("/s" add i, _Y, y);
setProperty("/s" add i, _rotation, random(4) * 90);
i = Number(i) + 1;
duplicateMovieClip("stoun","s" add i,16384 + (1000 + Number(i)));
setProperty("/s" add i, _X, getProperty("/s" add (i - 1), _X));
setProperty("/s" add i, _Y, getProperty("/s" add (i - 1), _Y) + 15);
setProperty("/s" add i, _rotation, random(4) * 90);
i = Number(i) + 1;
duplicateMovieClip("stoun","s" add i,16384 + (1000 + Number(i)));
setProperty("/s" add i, _X, getProperty("/s" add (i - 1), _X));
setProperty("/s" add i, _Y, getProperty("/s" add (i - 1), _Y) + 15);
setProperty("/s" add i, _rotation, random(4) * 90);
i = Number(i) + 1;
}