description = "When a character rotates to a certain angle, the rotation of next character begins.";
version = "1.00";
bin = "rotation2.bin";
========== Description Part End ==========
========== Parameter Part Begin ==========
$nCharacterCount(EDIT,INT,1,1 10000,"Total Characters ","The total characters using the special effect. The value is defined by the selected characters in the movie, but can not be changed in the property box.");
$nFrameCount(EDIT,INT,3,3 3,"Total Frames","It indicates the total frames of actions. The total frames of the effect is probably more than it.");
$nSpeed(EDIT,INT,3,1 50,"Fading Speed","The speed of character fading.");
$nRotationSpeed(EDIT,INT,10,1 360,"Rotating Speed","The speed of character rotating.");
$nScaleSpeed(EDIT,INT,10,1 100,"Scaling Speed","To control the speed of character scaling.");
$nInterval(EDIT,INT,60,1 360,"Interval","The time difference between the former character and the latter one beginning to rotate.");
========== Parameter Part End ==========
========== Function Part Begin ==========
nCharacterCount = 8;
nFrameCount = 3;
nSpeed = 3;
nRotationSpeed = 10;
nScaleSpeed = 10;
nInterval = 60;
nCharacter_x = new Array(nCharacterCount);
nCharacter_y = new Array(nCharacterCount);
nIsRun = new Array(nCharacterCount);
nWhoRun = 1;
nOriginalSizeX = new Array(nCharacterCount);
nOriginalSizeY = new Array(nCharacterCount);
for (i = 1; nCharacterCount >= i; i++)
{
this["c" + i]._alpha = 100;
this["c" + i]._rotation = 0;
//this["c" + i]._xscale = 100;
//this["c" + i]._yscale = 100;
nOriginalSizeX[i - 1] = this["c" + i ]._xscale;
nOriginalSizeY[i - 1] = this["c" + i ]._yscale;
nCharacter_x[i - 1] = this["c" + i]._x;
nCharacter_y[i - 1] = this["c" + i]._y;
nIsRun[i - 1] = true;
}
function fun()
{
for (i = 1; nCharacterCount >= i && nWhoRun >= i; i++)